guice compatibility with Java 9: "WARNING: Illegal reflective access by com.google.inject.internal."
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Guice |
Fix Released
|
Unknown
|
|||
guice (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
maven (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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.
WARNING: Please consider reporting this to the maintainers of com.google.
WARNING: Use --illegal-
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.
WARNING: Please consider reporting this to the maintainers of com.google.
WARNING: Use --illegal-
WARNING: All illegal access operations will be denied in a future release
```
The related issue was already reported and resolved in upstream guice: https:/
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: maven 3.5.2-2
ProcVersionSign
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)
PackageArchitec
SourcePackage: maven
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in guice: | |
status: | Unknown → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.