Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Invalid
-
0.13.0
-
None
-
None
Description
The old version of maven v3.5.2 shows the following warning messages when working with OpenJDK 10
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
It is caused by the guice.jar that does not well support Java 10,
The release note of Maven v3.5.4 includes the upgrades as follows
MNG-6344 Upgrade Guice to 4.2.0
That should resolve this issue.
Attachments
1.
|
Upgrade the Maven in CentOS Dockerfile to v3.5.4 | Resolved | Lan Lin | |
2.
|
Update the Maven installation from repository to manually deployment | Resolved | Lan Lin | |
3.
|
Link not found | In Progress | Gordon King |