Skip to content

Commit a5eec7f

Browse files
committed
Revert "fix: Fix muzzle detected that compiler generated an invokeinterface for getClass on HttpRequest"
This reverts commit bc1b15c because muzzle now handles https://bugs.openjdk.org/browse/JDK-8272715 since #9649
1 parent 7480c5c commit a5eec7f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

dd-java-agent/instrumentation/liberty-23/build.gradle

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,6 @@ configurations.named("webappRuntimeClasspath") {
7171
exclude group: 'ch.qos.logback', module: 'logback-classic'
7272
}
7373

74-
tasks.named("compileJava") {
75-
configureCompiler(
76-
it,
77-
8,
78-
JavaVersion.VERSION_1_8,
79-
"Since JDK 18/19 (https://bugs.openjdk.org/browse/JDK-8272715) javac compiler use `INVOKEINTERFACE` bytecode to " +
80-
"call Object's class like `getClass` on \"com/ibm/wsspi/http/HttpRequest\", rather than, `INVOKEVIRTUAL` byte " +
81-
"code to call `getClass` on \"java/lang/Object\", this code perfectly legal according to JLS 9.2, " +
82-
"however this fails in Muzzle checks."
83-
)
84-
}
85-
8674
// unzips the dependencies from the 'zipped' configuration so 'compileOnly' can reference it
8775
abstract class UnpackOpenLiberty extends Copy {
8876
@Input

0 commit comments

Comments
 (0)