You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Sergey Krivenko (JIRA)" <ji...@apache.org> on 2006/11/28 13:11:22 UTC
[jira] Updated: (HARMONY-2344) [classlib] [beans] Method
propertyChange() in class BeanContextSupport throws unspecified NPE
[ http://issues.apache.org/jira/browse/HARMONY-2344?page=all ]
Sergey Krivenko updated HARMONY-2344:
-------------------------------------
Attachment: BeanContextSupport.patch
The attached file is a patch fixing the problem
> [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