You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Zakharov (JIRA)" <ji...@apache.org> on 2006/12/05 17:37:23 UTC

[jira] Assigned: (HARMONY-2344) [classlib] [beans] Method propertyChange() in class BeanContextSupport throws unspecified NPE

     [ http://issues.apache.org/jira/browse/HARMONY-2344?page=all ]

Alexei Zakharov reassigned HARMONY-2344:
----------------------------------------

    Assignee: Alexei Zakharov

> [classlib] [beans] Method propertyChange() in class BeanContextSupport throws unspecified NPE
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2344
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2344
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: WIN XP
>            Reporter: Sergey Krivenko
>         Assigned To: Alexei Zakharov
>         Attachments: BeanContextSupport.patch, BeanContextSupportTest.patch
>
>
> The following test passes on RI but fails on Harmony with NPE:
> import java.beans.beancontext.*;
> import java.beans.*;
> public class Test  {
>     public static void main (String[] args) { 
>         try {
>             BeanContextServicesSupport s = new BeanContextServicesSupport();
>             PropertyChangeSupport p= new PropertyChangeSupport(new Object()); 
>             p.addPropertyChangeListener(s); 
>             p.firePropertyChange(null, new Object(), new Object());
>             System.out.println("PASS");
>         } catch (Exception e) {
>             e.printStackTrace();
>         }
>     }
> }

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