-
Notifications
You must be signed in to change notification settings - Fork 38.5k
Illegal reflective access warning for ExecutorBeanPostProcessor proxy creation #23099
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
Comments
This seems to be a side effect of #22416 where we only use the new JDK 9+ defineClass API if the ClassLoader matches... and in this case, the target class seems to come from the system class loader whereas we want to define the proxy in the application's class loader. Let's see whether we can refine our condition to include such cases as well. |
Also seeing this, hopefully same issue but posting the log just in case. Spring 5.1.8, openjdk 11
|
For the time being, these warnings should go away when starting the JVM with |
The same issue (different class loaders) is reproduced when
So, In my case it was triggered when JDK 11, Spring 5.2.3.RELEASE, Spring Boot 2.2.3.RELEASE |
this might help #22814 (comment) |
Affects: 5.1.7.RELEASE
On a Spring Boot 2.1.5.RELEASE application with Spring Cloud Greenwich.SR1 running with OpenJDK 11.0.2, we get the following warning:
The text was updated successfully, but these errors were encountered: