Skip to content

getBeanDefinitionNames should not leak the frozenBeanDefinitionNames array [SPR-14897] #19463

Closed
@spring-projects-issues

Description

@spring-projects-issues

Richard Fearn opened SPR-14897 and commented

getBeanDefinitionNames leaks the getBeanDefinitionNames array to callers. It's possible for the caller to modify the array, which affects Spring's internal list of the names of beans in the context.


Affects: 4.3.4

Attachments:

Issue Links:

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions