You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Leo Li (JIRA)" <ji...@apache.org> on 2007/04/26 09:14:15 UTC

[jira] Created: (HARMONY-3762) [classlib][beans]java.beans.PropertyChangeSupport is not compatible with RI in serialization.

[classlib][beans]java.beans.PropertyChangeSupport is not compatible with RI in serialization.
---------------------------------------------------------------------------------------------

                 Key: HARMONY-3762
                 URL: https://issues.apache.org/jira/browse/HARMONY-3762
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Leo Li




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-3762) [classlib][beans]java.beans.PropertyChangeSupport is not compatible with RI in serialization.

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494279 ] 

Leo Li commented on HARMONY-3762:
---------------------------------

Hi, Tim:
      Maybe I have got the reason for the ClassNotFoundException if it occurs when running in eclipse.      
      It is due to the original beans module does not export resource directory as the source directory in eclipse as I reported in HARMONY-3762. 
      So the original corrupted ser file in the bin directory, which calls for the tests.api.java.beans.PropertyChangeSupportTest$MockPropertyChangeListener  but should call for  the one with the prefix of org.apache.harmony instead, is not replaced by the newer one in my patch automatically by eclipse in buiding.
      

Good luck!
Leo.  

> [classlib][beans]java.beans.PropertyChangeSupport is not compatible with RI in serialization.
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3762
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3762
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Tim Ellison
>         Attachments: patch-3762.zip
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3762) [classlib][beans]java.beans.PropertyChangeSupport is not compatible with RI in serialization.

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

Leo Li updated HARMONY-3762:
----------------------------

    Attachment: patch-3762.zip

Hi, will somebody try the patch?

1.The original ser file is not appropriate since the test class has been removed from test.* to org.apapche.*.

2.The PropertyChangeSupportTest now can be removed from the exclude list.

Good luck,
Leo.

> [classlib][beans]java.beans.PropertyChangeSupport is not compatible with RI in serialization.
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3762
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3762
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Attachments: patch-3762.zip
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-3762) [classlib][beans]java.beans.PropertyChangeSupport is not compatible with RI in serialization.

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492849 ] 

Tim Ellison commented on HARMONY-3762:
--------------------------------------

When I try this patch I get a class not found exception...

tests.api.java.beans.PropertyChangeSupportTest$MockPropertyChangeListener

java.lang.ClassNotFoundException: tests.api.java.beans.PropertyChangeSupportTest$MockPropertyChangeListener at java.lang.Class.forName(Class.java:162) at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:2427) at java.io.ObjectInputStream.readNewClassDesc(ObjectInputStream.java:1718) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:716) at java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1872) at java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:820) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:2157) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:2112) at java.beans.PropertyChangeSupport.readObject(PropertyChangeSupport.java:261) at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25) at java.io.ObjectInputStream.readObjectForClass(ObjectInputStream.java:146) at java.io.ObjectInputStream.readHierarchy(ObjectInputStream.java:1327) at java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1990) at java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:820) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:2157) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:2112) at java.util.Hashtable.readObject(Hashtable.java:927) at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25) at java.io.ObjectInputStream.readObjectForClass(ObjectInputStream.java:146) at java.io.ObjectInputStream.readHierarchy(ObjectInputStream.java:1327) at java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1990) at java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:820) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:2157) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:2112) at java.io.ObjectInputStream.readFieldValues(ObjectInputStream.java:1185) at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:432) at java.beans.PropertyChangeSupport.readObject(PropertyChangeSupport.java:243) at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25) at java.io.ObjectInputStream.readObjectForClass(ObjectInputStream.java:146) at java.io.ObjectInputStream.readHierarchy(ObjectInputStream.java:1327) at java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1990) at java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:820) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:2157) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:2112) at tests.util.SerializationTester.readObject(SerializationTester.java:171) at org.apache.harmony.beans.tests.java.beans.PropertyChangeSupportTest.testSerializationCompatibility(PropertyChangeSupportTest.java:1237) at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)

> [classlib][beans]java.beans.PropertyChangeSupport is not compatible with RI in serialization.
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3762
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3762
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Tim Ellison
>         Attachments: patch-3762.zip
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-3762) [classlib][beans]java.beans.PropertyChangeSupport is not compatible with RI in serialization.

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494185 ] 

Leo Li commented on HARMONY-3762:
---------------------------------

Hi, Tim:
       Now it is ok in my machine. Maybe because of HARMONY-3792, I am not sure.

Good luck!
Leo.

> [classlib][beans]java.beans.PropertyChangeSupport is not compatible with RI in serialization.
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3762
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3762
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Tim Ellison
>         Attachments: patch-3762.zip
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-3762) [classlib][beans]java.beans.PropertyChangeSupport is not compatible with RI in serialization.

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

Tim Ellison resolved HARMONY-3762.
----------------------------------

    Resolution: Invalid

Leo, I revisited this patch, and see that it has already been applied.
So if you agree I will now close this issue.


> [classlib][beans]java.beans.PropertyChangeSupport is not compatible with RI in serialization.
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3762
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3762
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>            Assignee: Tim Ellison
>         Attachments: patch-3762.zip
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3762) [classlib][beans]java.beans.PropertyChangeSupport is not compatible with RI in serialization.

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

Leo Li updated HARMONY-3762:
----------------------------

    Patch Info: [Patch Available]

> [classlib][beans]java.beans.PropertyChangeSupport is not compatible with RI in serialization.
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3762
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3762
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Attachments: patch-3762.zip
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-3762) [classlib][beans]java.beans.PropertyChangeSupport is not compatible with RI in serialization.

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

Tim Ellison closed HARMONY-3762.
--------------------------------


No response, assuming it is ok.

> [classlib][beans]java.beans.PropertyChangeSupport is not compatible with RI in serialization.
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3762
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3762
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>            Assignee: Tim Ellison
>         Attachments: patch-3762.zip
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-3762) [classlib][beans]java.beans.PropertyChangeSupport is not compatible with RI in serialization.

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

Tim Ellison reassigned HARMONY-3762:
------------------------------------

    Assignee: Tim Ellison

> [classlib][beans]java.beans.PropertyChangeSupport is not compatible with RI in serialization.
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3762
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3762
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Tim Ellison
>         Attachments: patch-3762.zip
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.