[jbossws-issues] [JBoss JIRA] (JBWS-4138) JDK11 illegal reflective access warnings in gmavenplus-plugin

Jan Blizňák (JIRA) issues at jboss.org
Thu Sep 20 08:18:00 EDT 2018


     [ https://issues.jboss.org/browse/JBWS-4138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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)



More information about the jbossws-issues mailing list