Now seeing this manifest as an ERROR in JDK16 and Ubuntu 20.10:

$ java -version
openjdk version "16" 2021-03-16
OpenJDK Runtime Environment (build 16+36-2231)
OpenJDK 64-Bit Server VM (build 16+36-2231, mixed mode, sharing)

$ mvn clean test
[ERROR] Error executing Maven.
[ERROR] java.lang.IllegalStateException: Unable to load cache item
[ERROR] Caused by: Unable to load cache item
[ERROR] Caused by: Could not initialize class 
com.google.inject.internal.cglib.core.$MethodWrapper

This essentially breaks any CI that uses a 20.10 image with JDK16.


It might be worth looking at how the Debian people fixed this:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980467

** Bug watch added: Debian Bug tracker #980467
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980467

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1754602

Title:
  guice compatibility with Java 9: "WARNING: Illegal reflective access
  by com.google.inject.internal."

To manage notifications about this bug go to:
https://bugs.launchpad.net/guice/+bug/1754602/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to