WARNING: An illegal reflective access operation has occurred
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 1.7k
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Description
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/C:/Users/javie/.m2/repository/com/google/inject/guice/4.2.1/guice-4.2.1.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
This warning appears on my project when I compile it. I'm using Guice 4.2.1 (maven) and JDK 10
I checked the Travis builds and it seems that the warning appears on travis CI also:
https://travis-ci.org/google/guice/jobs/440573805#L1747
Is there any quickfix?
Contributor guide
Assessment
This issue has not been assessed yet.