harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2448) java.beans.VetoableChangeListenerProxy.vetoableChange() does not throw NPE
Date Mon, 04 Dec 2006 17:33:22 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2448?page=all ]

Nikolay Kuznetsov updated HARMONY-2448:
---------------------------------------

    Attachment: test_VetoableChangeListener.java

Attached test demonstrated this problem:
Output on Harmony VM:
getListener()=null
FAIL: NullPointerExceptin is expected

Output on BEA:
getListener()=null
PASS
java.lang.NullPointerException
        at
java.beans.VetoableChangeListenerProxy.vetoableChange(Ljava.beans.Pro
pertyChangeEvent;)V(VetoableChangeListenerProxy.java:54)
        at test.main([Ljava.lang.String;)V(test.java:14)


> java.beans.VetoableChangeListenerProxy.vetoableChange() does not throw NPE
> --------------------------------------------------------------------------
>
>                 Key: HARMONY-2448
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2448
>             Project: Harmony
>          Issue Type: Bug
>          Components: Non-bug differences from RI
>            Reporter: Nikolay Kuznetsov
>            Priority: Minor
>         Attachments: test_VetoableChangeListener.java
>
>
> VetoableChangeListenerProxy.vetoableChange() does not throw NPE if
> object was created with VetoableChangeListener listener == null. Specification does not
mention this, but RI throws NPE.

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