[ 
https://issues.apache.org/jira/browse/MNG-7169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17374760#comment-17374760
 ] 

Timm Fitschen commented on MNG-7169:
------------------------------------

After further investigation, I found that debian patches the maven package to 
use guice from the debian package "guice-4.2.1" instead of using the 
"guice-no_aop.jar" in the maven dist-build.

So, installing maven-core from the original binary package solved this issue 
for me.

Please close. Thank you.

> Update Guice dependency to 5.0.1
> --------------------------------
>
>                 Key: MNG-7169
>                 URL: https://issues.apache.org/jira/browse/MNG-7169
>             Project: Maven
>          Issue Type: Dependency upgrade
>    Affects Versions: 3.8.1
>            Reporter: Timm Fitschen
>            Priority: Major
>             Fix For: waiting-for-feedback
>
>
> Thank you for your work!
> I hope this is the correct issue tracker:
> With maven 3.8.1, I got a warning:
> {code}
> 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}
> Aparently, maven-core has a guice-4.2.1 compile dependency. Please consider 
> updating to 5.0.1 which should solve the `illegal access` issue.
> See guice bug report: https://github.com/google/guice/issues/1133 
> and guice release notes: https://github.com/google/guice/wiki/Guice501



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

Reply via email to