-
Notifications
You must be signed in to change notification settings - Fork 327
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
Avoid Illegal Reflective Access Warning on JDK11 #641
Comments
Got the same issue: #610 |
I think this line: https://github.com/kamon-io/kamon-executors/blob/master/kamon-executors/src/main/scala/kamon/instrumentation/executor/ExecutorInstrumentation.scala#L243 is where the warning occurs. |
Getting the same warnings |
Also getting warnings on Java11 |
hey all! |
Ping |
I'm also receiving this when using Java 11 |
Hi all, a workaround until we find a good solution is adding |
yo @dpsoft, is there any particular reason why we are supporting those If there is no real need to unwrap the delegated implementations, it might be a good idea to just remove them from the instrumentation. WDYT? |
Thanks. Using
for now, suppresses the warnings |
@oschrenk, I have tried to suppress the warnings using |
I am not able to see any warnings when i run application using sbt run in terminal, but when i create a docker image and run the application inside docker container i am able to see the warnings. |
The option I used is indeed only used for If you happen to use
But again, that depends on the way you package your application. |
Thanks @oschrenk , it has solved my problem with your suggested code
|
@ivantopo you are right, there is no reason to maintain this code! I will make a PR removing this unused code. UPDATEThe reason that we need that code is because every Maybe an option could be using ideas are welcome! |
This happens when running on JDK11:
I'm not sure of how we could get around this, but let's see if there is a way! Thanks to @bogdanromanx for bringing this up!
The text was updated successfully, but these errors were encountered: