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

SpEL: concurrency issue with StandardEvaluationContext initialization [SPR-7343] #12002

Closed
spring-projects-issues opened this issue Jul 2, 2010 · 1 comment
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Andy Clement opened SPR-7343 and commented

Found by Oleg. When the StandardEvaluationContext was modified from an eager to lazy initialization model, this created an issue with two threads simultaneously triggering the lazy initialization. In initialization of the method resolvers it is possible for one thread to trigger initialization but during that initialization another thread grabs an 'empty list' of method resolvers (because the first thread has only created the list, not populated it yet).

Although only found for method resolvers this probably affects initialization of other pieces, they will be checked as part of fixing this issue.


Affects: 3.0.3

Referenced from: commits 88560fd

@spring-projects-issues
Copy link
Collaborator Author

Andy Clement commented

fixed - for methods, constructors and property accessors.

@spring-projects-issues spring-projects-issues added type: bug A general bug in: core Issues in core modules (aop, beans, core, context, expression) labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 3.0.4 milestone Jan 11, 2019
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) type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants