Skip to content

Revisit need for Introspector.flushFromCaches call in CachedIntrospectionResults [SPR-11356] #15981

Closed
@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-11356 and commented

As of JDK 7 and apparently also recent JDK 6 versions, java.beans.Introspector has a proper weak cache for BeanInfo objects. As a consequence, we can probably drop our immediate Introspector.flushFromCaches call in the CachedIntrospectionResults constructor - at least on recent JDKs -, not least of it all to avoid the locking implied by that call.


Affects: 4.0 GA

Issue Links:

Referenced from: commits 87179b0, defc1d3

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions