]
Jason Porter resolved SOLDER-298.
---------------------------------
Resolution: Done
MethodPropertyImpl does not work for primitive boolean
------------------------------------------------------
Key: SOLDER-298
URL:
https://issues.jboss.org/browse/SOLDER-298
Project: 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: