Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump instrumentation version #24073

Merged
merged 1 commit into from Feb 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -66,7 +66,7 @@ class InstrumentingTransformer implements CachedClasspathTransformer.Transform {
/**
* Decoration format. Increment this when making changes.
*/
private static final int DECORATION_FORMAT = 20;
private static final int DECORATION_FORMAT = 23;

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

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

when:
def cachedClasspath = transformer.transform(classpath, BuildLogic)
Expand Down Expand Up @@ -299,8 +299,8 @@ class DefaultCachedClasspathTransformerTest extends ConcurrentSpec {
def file = testDir.file("thing.jar")
jar(file)
def classpath = DefaultClassPath.of(dir, file)
def cachedDir = testDir.file("cached/d4d760260e067b91216f90d0d5a7ac5c/thing.dir.jar")
def cachedFile = testDir.file("cached/16fa923fc1ec782f28887195acdc5401/thing.jar")
def cachedDir = testDir.file("cached/deed05338c460a99c155e591a360d09a/thing.dir.jar")
def cachedFile = testDir.file("cached/7d8f1bdd1ac5894c19082a4927eeff0b/thing.jar")

when:
def cachedClasspath = transformer.transform(classpath, BuildLogic)
Expand Down Expand Up @@ -357,8 +357,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/d4d760260e067b91216f90d0d5a7ac5c/thing.dir.jar")
def cachedFile = testDir.file("cached/16fa923fc1ec782f28887195acdc5401/thing.jar")
def cachedDir = testDir.file("cached/deed05338c460a99c155e591a360d09a/thing.dir.jar")
def cachedFile = testDir.file("cached/7d8f1bdd1ac5894c19082a4927eeff0b/thing.jar")

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

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

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