-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Illegal reflective access by ExecutorServiceMetrics #2174
Comments
Some metrics from the binder depend on reflective access to There are some options, for example:
I created #2185 to resolve this with the option 4 as it's backward-compatible and also provides an option to avoid the warnings at the expense of losing the feature. I'm not sure if there's any better fix for it. |
I'd like to take a closer look at this and see if there's some way we could achieve our goal without the illegal reflective access, even if that might require changes in the JDK. |
Ran into the following warning at runtime when trying to monitor an
ExecutorService
using the micrometer binderExecutorServiceMetrics
:The following test reproduces the issue:
The issue is observed on both of the following runtimes:
The aforementioned reflective access can be seen at line 290 of the ExecutorServiceMetrics.java
The text was updated successfully, but these errors were encountered: