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

Illegal reflective access by ReflectionUtils [SPR-17487] #22019

spring-issuemaster opened this issue Nov 13, 2018 · 1 comment


Copy link

@spring-issuemaster spring-issuemaster commented Nov 13, 2018

Carl Henrik Klåvus opened SPR-17487 and commented

Tried to upgrade 5.0.8 -> 5.1.2 in order to get rid of illegal reflective access but got a new one.

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.util.ReflectionUtils (file:/home/user/.m2/repository/org/springframework/spring-core/5.1.2.RELEASE/spring-core-5.1.2.RELEASE.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class)
WARNING: Please consider reporting this to the maintainers of org.springframework.util.ReflectionUtils

Affects: 5.1.2

Issue Links:

  • DATACMNS-1373 Align class loading in ClassGeneratingEntityInstantiator with ClassGeneratingPropertyAccessorFactory

This comment has been minimized.

Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Nov 13, 2018

Juergen Hoeller commented

This is not our core ReflectionUtils to blame here but rather the code using it. For this particular case, I'm guessing it is actually DATACMNS-1373 since I'm not aware of any other access to that particular constructor. A Spring Data upgrade should make that go away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.