Skip to content

SpEL reuses invalid cached ConstructorExecutor #36985

Description

@sbrannen

Overview

While looking into #36968, I noticed that a SpEL ConstructorReference may potentially reuse a cached ConstructorExecutor which is no longer valid.

Even if such scenarios may never actually occur in a production application, we should still align the caching logic in ConstructorReference with other parts of SpEL internals.

NOTE: This issue is assigned and therefore not suitable for community contributions.

Related Issues

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions