harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Svetlana Samoilenko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-441) [classlib] java.beans.PropertyChangeSupport.addPropertyChangeListener(String, PropertyChangeListener) should not throw NPE if propertyName == null
Date Thu, 04 May 2006 12:04:25 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-441?page=all ]

Svetlana Samoilenko updated HARMONY-441:
----------------------------------------

    Attachment: VetoableChangeSupport.diffs

Mikhail, thanks, the fix looks fine for me.

I also have detected that the same problem is for
VetoableChangeSupport.addVetoableChangeListener((String propertyName,VetoableChangeListener
listener) method.

> [classlib] java.beans.PropertyChangeSupport.addPropertyChangeListener(String, PropertyChangeListener)
should not throw NPE if propertyName == null
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: HARMONY-441
>          URL: http://issues.apache.org/jira/browse/HARMONY-441
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Svetlana Samoilenko
>     Assignee: Mikhail Loenko
>     Priority: Minor
>  Attachments: PropertyChangeSupport.diffs, VetoableChangeSupport.diffs
>
> According to java 1.5 specification for java.beans.PropertyChangeSupport.addPropertyChangeListener(String
propertyName, PropertyChangeListener listener) "If propertyName or listener is null, no exception
is thrown and no action is taken".
> Harmony throws NPE if propertyName == null.

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