[
https://issues.jboss.org/browse/JBWS-4138?page=com.atlassian.jira.plugin....
]
Jan Blizňák commented on JBWS-4138:
-----------------------------------
New versions of gmavenplus-plugin and groovy released:
http://central.maven.org/maven2/org/codehaus/gmavenplus/gmavenplus-plugin...
http://central.maven.org/maven2/org/codehaus/groovy/groovy-all/2.5.3/
However, the warning is still there:
{code:java}
[INFO] --- gmavenplus-plugin:1.6.2:execute (testsuite-default) @
jbossws-cxf-specific-tests ---
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1
(file:/home/jbliznak/.m2/repository/org/codehaus/groovy/groovy/2.5.3/groovy-2.5.3.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
{code}
There is no groovy issue I know of, the only relevant mention seems to be in
http://mail-archives.apache.org/mod_mbox/groovy-dev/201810.mbox/%3CCADQzv...
JDK11 illegal reflective access warnings in gmavenplus-plugin
-------------------------------------------------------------
Key: JBWS-4138
URL:
https://issues.jboss.org/browse/JBWS-4138
Project: JBoss Web Services
Issue Type: Bug
Affects Versions: jbossws-cxf-5.2.3.Final
Reporter: Jan Blizňák
Priority: Major
Fix For: jbossws-cxf-5.2.5.Final
When running build with JDK11, the execution of gmavenplus-plugin during testsuite prints
illegal reflective access warnings
{code:java}
[INFO] --- gmavenplus-plugin:1.5:execute (testsuite-default) @ jbossws-cxf-specific-tests
---
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass
(file:/home/jbliznak/.m2/repository/org/codehaus/groovy/groovy-all/2.4.15/groovy-all-2.4.15.jar)
to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of
org.codehaus.groovy.reflection.CachedClass
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
{code}
This will become problem in JDK 12
--
This message was sent by Atlassian Jira
(v7.12.1#712002)