Skip to content

SerializableTypeWrapper should reobtain type accessors from declaring interface [SPR-14487] #19056

Closed
@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-14487 and commented

SerializableTypeWrapper restores type accessor methods on deserialization. It does so against the concrete type implementation at this point which breaks on JDK 9 due to an enforced visibility barrier. Resolving the method against the declaring interface is more appropriate in any case and also solves the JDK 9 issue.


Affects: 4.3.1

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