You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2021/07/04 09:53:00 UTC

[jira] [Commented] (MNG-7169) Update Guice dependency to 5.0.1

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

Michael Osipov commented on MNG-7169:
-------------------------------------

Can you show how to reproduce the issue?

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