[
http://www.stripesframework.org/jira/browse/STS-759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Gunter closed STS-759.
--------------------------
> Setter methods fail when a bean overrides a method with a subclass
> ------------------------------------------------------------------
>
> Key: STS-759
> URL: http://www.stripesframework.org/jira/browse/STS-759
> Project: Stripes
> Issue Type: Bug
> Components: Validation
> Affects Versions: Release 1.5.3
> Environment: All OS, Java 6
> Reporter: Tyler Elliott
> Assignee: Ben Gunter
> Fix For: Release 1.5.4, Release 1.6
>
> Attachments: ReflectUtil.patch
>
>
> A property cannot be set on a bean when that bean extends (or implements) an
> abstract class (or interface) that defines the getter to return a super class
> of the one defined by the concrete class.
> This is related to validation bugs that I've seen before, as well as the
> following sun bug.
> http://bugs.sun.com/view_bug.do?bug_id=6794807
> For example
> abstract class Test {
> public abstract Object getId();
> }
> public class TestImpl extends Test {
>
> private String id;
>
> public void setId(String id) {this.id = id;}
> @Override
> public String getId() {return id;}
> }
> In this case, stripes cannot set the ID because Introspector finds no setter
> that takes an Object argument.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development