-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug
Milestone
Description
Greg Nieman opened SPR-8522 and commented
Creation of a GsonBuilder using @Bean fails with java.beans.IntrospectionException: type mismatch between indexed and non-indexed methods: dateFormat. Rolling back to 3.0.5 the same code works. The exception occurs in the addOrUpdatePropertyDescriptor method of the ExtendedBeanInfo class at line 230 when it attempts to set the indexedReadMethod, which IIRC is a null value.
Attached is a small sample that illustrates this. The pom is set so you can toggle back and forth between 3.1 and 3.0.5 to see the behavior.
Affects: 3.1 M2
Attachments:
- testconfig.zip (24.75 kB)
Issue Links:
- Overhaul non-void JavaBean write method support [SPR-10029] #14663 Overhaul non-void JavaBean write method support
1 votes, 2 watchers
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug