[JBoss JIRA] (JBWS-4138) JDK11 illegal reflective access warnings in gmavenplus-plugin
by Jan Blizňák (JIRA)
[ https://issues.jboss.org/browse/JBWS-4138?page=com.atlassian.jira.plugin.... ]
Jan Blizňák commented on JBWS-4138:
-----------------------------------
I tried the easy approach of updating plugin to 1.6.1 and groovy to 2.5.2 but that only leads to another warning ad the buidl crash:
{code:java}
[INFO] --- gmavenplus-plugin:1.6.1: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.2/groovy-2.5.2.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
[INFO] Using Groovy 2.5.2 to perform execute.
...
[ERROR] Failed to execute goal org.codehaus.gmavenplus:gmavenplus-plugin:1.6.1:execute (testsuite-default) on project jbossws-cxf-specific-tests: Error occurred while calling a method on a Groovy class from classpath.: InvocationTargetException: BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' null: UnsupportedOperationException -> [Help 1]{code}
The crash seems to be caused by https://issues.apache.org/jira/browse/GROOVY-8727, for the warning I have nothing.
> 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
>
> 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.5.0#75005)
6 years, 3 months
[JBoss JIRA] (JBWS-4138) JDK11 illegal reflective access warnings in gmavenplus-plugin
by Jan Blizňák (JIRA)
[ https://issues.jboss.org/browse/JBWS-4138?page=com.atlassian.jira.plugin.... ]
Jan Blizňák updated JBWS-4138:
------------------------------
Description:
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
was:
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}
> 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
>
> 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.5.0#75005)
6 years, 3 months
[JBoss JIRA] (JBWS-4138) JDK11 illegal reflective access warnings in gmavenplus-plugin
by Jan Blizňák (JIRA)
Jan Blizňák created JBWS-4138:
---------------------------------
Summary: 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
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 message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 3 months