-
Notifications
You must be signed in to change notification settings - Fork 157
Closed
Labels
Description
We’re seeing failures with some of our Scala related instrumentation tests (e.g. com.nr.instrumentation.akka22.test.AkkaTest) that appear to be happening only on Java 11+, which I think are likely due to this bug with Scala 2.13: scala/bug#12340
We’re seeing the same failure:
java.lang.IllegalAccessError: Update to static final field akka.pattern.package$.MODULE$ attempted from a different method (<init>) than the initializer method <clinit>
This can be repro’d locally against main
by running the following if you remove the test annotations (e.g. Java11IncompatibleTest
) that were added to prevent them from running on Java 11+:
./gradlew -Ptest11 :instrumentation:akka-2.2:test --tests "com.nr.instrumentation.akka22.test.AkkaTest" --stacktrace
The following PR was submitted to prevent those tests from running on Java 11+ but we should revisit this at some point in the future to see if we can get these instrumentation tests running on Java 11+ again.
#481
agerauer
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status