FrankChen021 commented on pull request #12232:
URL: https://github.com/apache/druid/pull/12232#issuecomment-1037754070


   > I think there's also some flag that stops these messages from happening:
   > 
   > ```
   > WARNING: An illegal reflective access operation has occurred
   > WARNING: Illegal reflective access by 
com.google.inject.internal.cglib.core.$ReflectUtils$1 
(file:dist/druid/lib/guice-4.1.0.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
   > ```
   > 
   > I see them on all server startups when running on Java 11. They seem 
harmless but they look scary, like the cops are going to come and toss you in 
jail.
   
   @gianm To eliminate this warning, I think we can upgrade the guice from 
current 4.1.0 to the [4.2.2](https://github.com/google/guice/wiki/Guice422) 
which is the lowest version that supports Java 11.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to