Skip to content

Commit

Permalink
Merge pull request #24075 Bump instrumentation version for 8.1
Browse files Browse the repository at this point in the history
There's no instrumentation changes going into 8.1, but we had to bump version for 8.0.2 to 23. To avoid clashes when incrementing this one eventually, this commit proactively bumps the version here.

Part of #24031

Co-authored-by: Mikhail Lopatkin <mlopatkin@gradle.com>
  • Loading branch information
bot-gradle and mlopatkin committed Feb 28, 2023
2 parents d049f3b + 6ad10d0 commit 835b5a6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Expand Up @@ -73,7 +73,7 @@ class InstrumentingTransformer implements CachedClasspathTransformer.Transform {
/**
* Decoration format. Increment this when making changes.
*/
private static final int DECORATION_FORMAT = 22;
private static final int DECORATION_FORMAT = 24;

private static final Type SYSTEM_TYPE = getType(System.class);
private static final Type STRING_TYPE = getType(String.class);
Expand Down
Expand Up @@ -247,7 +247,7 @@ class DefaultCachedClasspathTransformerTest extends ConcurrentSpec {
def file = testDir.file("thing.jar")
jar(file)
def classpath = DefaultClassPath.of(file)
def cachedFile = testDir.file("cached/073ad98e99cb900c3eda1074690cf327/thing.jar")
def cachedFile = testDir.file("cached/0137ae82097fc2137bccc0c3f0c8486c/thing.jar")

when:
def cachedClasspath = transformer.transform(classpath, BuildLogic)
Expand Down Expand Up @@ -275,7 +275,7 @@ class DefaultCachedClasspathTransformerTest extends ConcurrentSpec {
def dir = testDir.file("thing.dir")
classesDir(dir)
def classpath = DefaultClassPath.of(dir)
def cachedFile = testDir.file("cached/178e7de4384d207e79ca0da5482e9dbd/thing.dir.jar")
def cachedFile = testDir.file("cached/611085dfcbad5f588baa9f9fda22fc3a/thing.dir.jar")

when:
def cachedClasspath = transformer.transform(classpath, BuildLogic)
Expand Down Expand Up @@ -305,8 +305,8 @@ class DefaultCachedClasspathTransformerTest extends ConcurrentSpec {
def file = testDir.file("thing.jar")
jar(file)
def classpath = DefaultClassPath.of(dir, file)
def cachedDir = testDir.file("cached/178e7de4384d207e79ca0da5482e9dbd/thing.dir.jar")
def cachedFile = testDir.file("cached/073ad98e99cb900c3eda1074690cf327/thing.jar")
def cachedDir = testDir.file("cached/611085dfcbad5f588baa9f9fda22fc3a/thing.dir.jar")
def cachedFile = testDir.file("cached/0137ae82097fc2137bccc0c3f0c8486c/thing.jar")

when:
def cachedClasspath = transformer.transform(classpath, BuildLogic)
Expand Down Expand Up @@ -363,8 +363,8 @@ class DefaultCachedClasspathTransformerTest extends ConcurrentSpec {
def file3 = testDir.file("thing3.jar")
jar(file3)
def classpath = DefaultClassPath.of(dir, file, dir2, file2, dir3, file3)
def cachedDir = testDir.file("cached/178e7de4384d207e79ca0da5482e9dbd/thing.dir.jar")
def cachedFile = testDir.file("cached/073ad98e99cb900c3eda1074690cf327/thing.jar")
def cachedDir = testDir.file("cached/611085dfcbad5f588baa9f9fda22fc3a/thing.dir.jar")
def cachedFile = testDir.file("cached/0137ae82097fc2137bccc0c3f0c8486c/thing.jar")

when:
def cachedClasspath = transformer.transform(classpath, BuildLogic)
Expand All @@ -384,7 +384,7 @@ class DefaultCachedClasspathTransformerTest extends ConcurrentSpec {
def file = testDir.file("thing.jar")
jar(file)
def classpath = DefaultClassPath.of(file)
def cachedFile = testDir.file("cached/d78c58860acf6b3e0967e6f37f3cb2fa/thing.jar")
def cachedFile = testDir.file("cached/189c43c0b2d2ce6bf0ee3578002f0f25/thing.jar")

when:
def cachedClasspath = transformer.transform(classpath, BuildLogic, transform)
Expand Down Expand Up @@ -418,7 +418,7 @@ class DefaultCachedClasspathTransformerTest extends ConcurrentSpec {
def file = testDir.file("thing.jar")
jarWithStoredResource(file)
def classpath = DefaultClassPath.of(file)
def cachedFile = testDir.file("cached/54d492d97b2c57616a51af37f14507b7/thing.jar")
def cachedFile = testDir.file("cached/87832396e544c9434112a8925758c02f/thing.jar")

when:
def cachedClasspath = transformer.transform(classpath, BuildLogic)
Expand Down

0 comments on commit 835b5a6

Please sign in to comment.