You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Guice 4.2 relies on cglib library, which makes an illegal reflection access to java.lang module. If we try to run Guice-based application with Gradle and Chainsaw, we get an error from JVM that java.base does not open java.lang to com.google.guice.
It seems that there is no good solution for that at the Guice side, until Guice fully migrates to Jigsaw and cglib is fixed. To deal with it, we must add the following CLI flag: --add-opens=java.base/java.lang=com.google.guice. Currently, there is no way to configure such custom flags via Chainsaw.
The text was updated successfully, but these errors were encountered:
Guice 4.2 relies on cglib library, which makes an illegal reflection access to
java.lang
module. If we try to run Guice-based application with Gradle and Chainsaw, we get an error from JVM thatjava.base
does not openjava.lang
tocom.google.guice
.It seems that there is no good solution for that at the Guice side, until Guice fully migrates to Jigsaw and cglib is fixed. To deal with it, we must add the following CLI flag:
--add-opens=java.base/java.lang=com.google.guice
. Currently, there is no way to configure such custom flags via Chainsaw.The text was updated successfully, but these errors were encountered: