[ 
https://issues.apache.org/jira/browse/MNEMONIC-503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wang, Gang closed MNEMONIC-503.
-------------------------------
    Resolution: Invalid

> MAVEN warnings for Java 10
> --------------------------
>
>                 Key: MNEMONIC-503
>                 URL: https://issues.apache.org/jira/browse/MNEMONIC-503
>             Project: Mnemonic
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 0.13.0
>            Reporter: Wang, Gang
>            Assignee: Yanping Wang
>            Priority: Major
>
> The old version of maven v3.5.2 shows the following warning messages when 
> working with OpenJDK 10
> {code:java}
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by 
> com.google.inject.internal.cglib.core.$ReflectUtils$1 
> (file:/usr/share/maven/lib/guice.jar) to method 
> java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> WARNING: Please consider reporting this to the maintainers of 
> com.google.inject.internal.cglib.core.$ReflectUtils$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}
> It is caused by the guice.jar that does not well support Java 10,
> The release note of Maven v3.5.4 includes the upgrades as follows
> {code:java}
> MNG-6344 Upgrade Guice to 4.2.0
> {code}
> That should resolve this issue.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to