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

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

Timm Fitschen created MNG-7169:
----------------------------------

             Summary: 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


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)