Skip to content

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

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

Closed
spring-projects-issues opened this issue Nov 13, 2018 · 1 comment
Closed
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: invalid An issue that we don't feel is valid

Comments

@spring-projects-issues
Copy link
Collaborator

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
@spring-projects-issues
Copy link
Collaborator Author

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
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: invalid An issue that we don't feel is valid
Projects
None yet
Development

No branches or pull requests

2 participants