-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply
Description
Kyrill Alyoshin opened SPR-9256 and commented
I am hesitant to put it here because it is so hard to believe. But basically we have a prototype bean (marked through @Scope annotation) with a
{{
private transient SomeService service;
@Autowired
public void setSomeService() {
...
}
}}
Several of such beans are concurrently retrieved from the application context. And sporadically, but reproducibly (!), for one of them service would be null. I have removed transient modifier and I cannot reproduce it anymore...
It would be interesting to hear Juergen's comment on this. Is this even in the realm of possibility that a transient modifier could matter???
Affects: 3.1 GA
Issue Links:
- Threading issue in InjectionMetadata.InjectedElement [SPR-9263] #13901 Threading issue in InjectionMetadata.InjectedElement
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply