Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings at startup when used with Java 9 #43

Closed
dodie opened this issue Jan 20, 2018 · 2 comments
Closed

Warnings at startup when used with Java 9 #43

dodie opened this issue Jan 20, 2018 · 2 comments

Comments

@dodie
Copy link
Owner

dodie commented Jan 20, 2018

Scott works on with Java 9 JVM, but it shows the following warnings at startup (tested with Oracle Java 9 and Maven):

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

Possibly this can be fixed in the future by updating the dependencies.
See: google/guice#1133

@tGrottker
Copy link

I have the same issue, even if I switch back to Java 8.

@dodie
Copy link
Owner Author

dodie commented Sep 24, 2021

Dependencies for Scott 4.0.0 have been updated, with this the warning no longer appears.

@dodie dodie closed this as completed Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants