You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Nikolay Kuznetsov (JIRA)" <ji...@apache.org> on 2006/12/04 18:33:22 UTC
[jira] Updated: (HARMONY-2448)
java.beans.VetoableChangeListenerProxy.vetoableChange() does not throw NPE
[ 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