harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Krivenko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2344) [classlib] [beans] Method propertyChange() in class BeanContextSupport throws unspecified NPE
Date Tue, 28 Nov 2006 12:11:25 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2344?page=all ]

Sergey Krivenko updated HARMONY-2344:
-------------------------------------

    Attachment: BeanContextSupportTest.patch

This is the patch for the test

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

        

Mime
View raw message