harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-237) PropertyDescriptor constructors throws incorrect (or no) exception
Date Wed, 22 Mar 2006 20:08:33 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-237?page=all ]

Mark Hindess updated HARMONY-237:
---------------------------------

    Attachment: propertydescriptor.npe.diff

This patch fixes the exception behaviour to match the RI (1.5.0_06) and adds some tests.


> PropertyDescriptor constructors throws incorrect (or no) exception
> ------------------------------------------------------------------
>
>          Key: HARMONY-237
>          URL: http://issues.apache.org/jira/browse/HARMONY-237
>      Project: Harmony
>         Type: Bug
>   Components: Classlib
>     Reporter: Mark Hindess
>     Priority: Minor
>  Attachments: propertydescriptor.npe.diff
>
> Passing all null arguments to these constructors gives incorrect behaviour.
> j.beans.PropertyDescriptor(j.l.String,j.l.Class):
>   RI throws j.beans.IntrospectionException but
>   Harmony throws j.l.NullPointerException
> j.beans.PropertyDescriptor(j.l.String,j.l.Class,j.l.String,j.l.String):
>   RI throws j.beans.IntrospectionException but
>   Harmony throws j.l.NullPointerException
> j.beans.PropertyDescriptor(j.l.String,j.l.reflect.Method,j.l.reflect.Method):
>   RI throws j.beans.IntrospectionException but
>   Harmony doesn't throw an exception
> Will attach a patch.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message