-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All,

I haven't looked at the code, but introspection often has special cases
for primitive types, whereas their wrapper types (java.lang.Boolean, in
this case) are handled generically as Objects.

Are we sure that java.lang.Boolean.class is appropriate to check in this
case?

Adam did not provide an example of how to demonstrate the existence of
the bug... just an assertion that the code was not sufficient.

- -chris

Will Glass-Husain wrote:
> Thanks for the catch!
> 
> Would you mind opening a bug report on this at:
> http://issues.apache.org/jira
> 
> and we'll fix it right away.
> 
> WILL
> 
> On 5/3/07, Adam Bishop (DSLWN) <[EMAIL PROTECTED]> wrote:
>>
>> getMethod().getReturnType() != Boolean.TYPE
>>
>> returns true if the method return type is Boolean rather than boolean.
>> (i.e. it doesn't like the Boolean class, just the boolean primitive)
>>
>> the line should be
>>
>> getMethod().getReturnType() != Boolean.TYPE &&
>> getMethod().getReturnType()!=Boolean.class
>>
>> bug exists in 1.3.1 and 1.5
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGO2Zl9CaO5/Lv0PARAsxdAKCilrbmaDaT6beo2fdoBdDX6OpthgCgqPKp
0TkuY+K+gUbJ0B0Udyez2mY=
=vHyY
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to