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
Fix For: 3.1.0.Beta5
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