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
When I run the baking with JDK11 I get some errors that should be fixed (I guess either by upgrading or waiting for updates?):
+./bin/jbake-2.6.4-bin/bin/jbake -b --reset JBake v2.6.4 (2019-01-21 21:03:37PM) [http://jbake.org] WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/home/travis/build/apache/incubator-tamaya-site/bin/jbake-2.6.4-bin/lib/groovy-2.5.5.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int) WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release
I see similar messages in jbake-builds: e.g. https://travis-ci.org/jbake-org/jbake/jobs/531074230 > Task :jbake-core:test WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/home/travis/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy/2.5.7/99907efe4b69f800c42584386f5d668e4d952bd5/groovy-2.5.7.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int) WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release
The text was updated successfully, but these errors were encountered:
Hi. Those are warnings coming from the groovy library. Groovy addressed some of those warnings with the latest release and the first beta of 3.0.0. With the next releases of groovy those warnings will be gone. So long, we just have to wait. They are not critical for jdk 12 and 13, too.
@ancho thanks for the info - then let's keep the issue open until all updates are in jBake :-)
ottlinger
changed the title
Error message if running/baking with JDK11
Groovy warnings if running/baking with JDK11 - illegal reflective access operation has occurred
May 19, 2019
When I run the baking with JDK11 I get some errors that should be fixed (I guess either by upgrading or waiting for updates?):
+./bin/jbake-2.6.4-bin/bin/jbake -b --reset JBake v2.6.4 (2019-01-21 21:03:37PM) [http://jbake.org] WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/home/travis/build/apache/incubator-tamaya-site/bin/jbake-2.6.4-bin/lib/groovy-2.5.5.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int) WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release
I see similar messages in jbake-builds: e.g. https://travis-ci.org/jbake-org/jbake/jobs/531074230
> Task :jbake-core:test WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/home/travis/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy/2.5.7/99907efe4b69f800c42584386f5d668e4d952bd5/groovy-2.5.7.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int) WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release
The text was updated successfully, but these errors were encountered: