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:30:22 UTC

[jira] Created: (HARMONY-2448) java.beans.VetoableChangeListenerProxy.vetoableChange() does not throw NPE

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


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

        

[jira] Updated: (HARMONY-2448) java.beans.VetoableChangeListenerProxy.vetoableChange() does not throw NPE

Posted by "Nikolay Kuznetsov (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] Updated: (HARMONY-2448) [classlib][beans] java.beans.VetoableChangeListenerProxy.vetoableChange() does not throw NPE

Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2448?page=all ]

Alexei Zakharov updated HARMONY-2448:
-------------------------------------

    Summary: [classlib][beans] java.beans.VetoableChangeListenerProxy.vetoableChange() does not throw NPE  (was: java.beans.VetoableChangeListenerProxy.vetoableChange() does not throw NPE)

> [classlib][beans] 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

        

[jira] Resolved: (HARMONY-2448) [classlib][beans] java.beans.VetoableChangeListenerProxy.vetoableChange() does not throw NPE

Posted by "Kevin Zhou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-2448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Zhou resolved HARMONY-2448.
---------------------------------

         Assignee: Kevin Zhou
    Fix Version/s: 6.0M2
                   5.0M14
       Resolution: Cannot Reproduce

I can not reproduce it any more on the latest version of HDK.

Thanks

> [classlib][beans] java.beans.VetoableChangeListenerProxy.vetoableChange() does not throw NPE
> --------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2448
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2448
>             Project: Harmony
>          Issue Type: Bug
>          Components: Non-bug differences from RI
>            Reporter: Nikolay Kuznetsov
>            Assignee: Kevin Zhou
>            Priority: Minor
>             Fix For: 6.0M2, 5.0M14
>
>         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.
-
You can reply to this email to add a comment to the issue online.