[seam-issues] [JBoss JIRA] (SOLDER-321) Unexpected behavior of "Properties.createProperty(Method)" when a setter method that doesn't return void is used

Ioan LUPU (JIRA) jira-events at lists.jboss.org
Wed Mar 14 17:06:47 EDT 2012


     [ https://issues.jboss.org/browse/SOLDER-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioan LUPU updated SOLDER-321:
-----------------------------

    Attachment: Test02.java


- Attached Test02.java. It "shows" the problem.
                
> Unexpected behavior of "Properties.createProperty(Method)" when a setter method that doesn't return void is used
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLDER-321
>                 URL: https://issues.jboss.org/browse/SOLDER-321
>             Project: Solder
>          Issue Type: Bug
>    Affects Versions: 3.1.0.Final
>            Reporter: Ioan LUPU
>         Attachments: Test02.java
>
>
> beans.101.pdf at http://download.oracle.com/otndocs/jcp/7224-javabeans-1.01-fr-spec-oth-JSpec/ says that a bean's property is considered read-write if the getter AND the setter are OK. Properties.createProperty(Method) doesn't check both methods! Please see the attached file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list