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

R Searls (Jira) issues at jboss.org
Wed Nov 28 16:14:00 EST 2018


    [ https://issues.jboss.org/browse/JBWS-4138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13667731#comment-13667731 ] 

R Searls commented on JBWS-4138:
--------------------------------

RedHat does not own the groovy source.  It is up to that team to make the needed code changes to address these warnings.

Have you filed a bug report on the groovy product?  Perhaps you could provide a link to that jira here so we can follow the groovy team's progress.

In my opinion it is unclear if the JDK team will really enforce fixing the root cause of this
issue in JDK-12.   I think there are still way too many products that have this issue and
have not addressed it.  Those vendors most likely will push to extend the existing
support in JDK-12 and beyond. 

> 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)



More information about the jbossws-issues mailing list