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

Shane Bryzak updated SOLDER-298:
--------------------------------

    Fix Version/s: 3.1.0.Final
                       (was: 3.1.0.Beta5)

    
> MethodPropertyImpl does not work for primitive boolean
> ------------------------------------------------------
>
>                 Key: SOLDER-298
>                 URL: https://issues.jboss.org/browse/SOLDER-298
>             Project: Seam Solder
>          Issue Type: Bug
>          Components: Core, Reflections
>    Affects Versions: 3.1.0.Beta4
>         Environment: AS 7.02, java 1.6.0_25, os: Windows7
>            Reporter: Lukasz Kaleta
>              Labels: boolean,, primitive, property
>             Fix For: 3.1.0.Final
>
>
> method.getReturnType() != Boolean.class -> true
> method.getReturnType().isPrimitive() -> true
> method.getRetunType = Class("boolean")
> if (method.getReturnType() != Boolean.class || 
> !method.getReturnType().isPrimitive()) {
>  throw new IllegalArgumentException("Invalid accessor method, must return 
> boolean primitive if starts with 'is'. Method: " + method);
> }

--
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

        
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues

Reply via email to