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

LoadTimeWeavingConfiguration should not rely on private field injection [SPR-12776] #17374

spring-issuemaster opened this issue Mar 2, 2015 · 0 comments


None yet
2 participants
Copy link

commented Mar 2, 2015

Juergen Hoeller opened SPR-12776 and commented

LoadTimeWeavingConfiguration uses private field injection for the purpose of injecting an optional configurer, like other internal configuration classes backing various @Enable annotations historically did. As of the 4.1.x line, no other such internal use of field injection remains, so this one needs to be replaced with a regular public setter as well. The benefit remains the same: public setter access doesn't cause issues in unit testing or security manager environments.

Affects: 4.1.5

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