We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b814b8b commit 7acf122Copy full SHA for 7acf122
dd-java-agent/instrumentation/liberty-23/build.gradle
@@ -62,6 +62,16 @@ configurations.webappRuntimeClasspath {
62
exclude group: 'ch.qos.logback', module: 'logback-classic'
63
}
64
65
+tasks.named("compileJava") {
66
+ configureCompiler(
67
+ it,
68
+ 8,
69
+ JavaVersion.VERSION_1_8,
70
+ "Modern javac compiler use `INVOKEINTERFACE` bytecode to call `getClass` on \"com/ibm/wsspi/http/HttpRequest\", rather than," +
71
+ "`INVOKEVIRTUAL` byte code to call `getClass` on \"java/lang/Object\", this fails in Muzzle."
72
+ )
73
+}
74
+
75
//unzips the dependencies from the 'zipped' configuration so 'compileOnly' can reference it
76
tasks.register('installOpenLibertyDeps', Copy) {
77
def extractDir = "${buildDir}/openliberty-jars"
0 commit comments