Public bug reported: The `guice` version provided by maven seem not to be compatible with Java 9 as it throws the following warnings:
``` 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 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 ``` The related issue was already reported and resolved in upstream guice: https://github.com/google/guice/issues/1085 ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: maven 3.5.2-2 ProcVersionSignature: Ubuntu 4.15.0-11.12-generic 4.15.5 Uname: Linux 4.15.0-11-generic x86_64 ApportVersion: 2.20.8-0ubuntu10 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Fri Mar 9 11:28:26 2018 InstallationDate: Installed on 2017-08-21 (199 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170820) PackageArchitecture: all SourcePackage: maven UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: guice Importance: Unknown Status: Unknown ** Affects: guice (Ubuntu) Importance: Undecided Status: New ** Affects: maven (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug bionic ** Summary changed: - guice version not compatible with Java 9 + guice compatibility with Java 9: "WARNING: Illegal reflective access by com.google.inject.internal." ** Also affects: guice (Ubuntu) Importance: Undecided Status: New ** Bug watch added: github.com/google/guice/issues #1085 https://github.com/google/guice/issues/1085 ** Also affects: guice via https://github.com/google/guice/issues/1085 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754602 Title: guice compatibility with Java 9: "WARNING: Illegal reflective access by com.google.inject.internal." To manage notifications about this bug go to: https://bugs.launchpad.net/guice/+bug/1754602/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs