harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3634) [drlvm][serialization] DRLVM fails to load serialized class, but RI loads it successfully
Date Thu, 12 Apr 2007 09:14:32 GMT
[drlvm][serialization] DRLVM fails to load serialized class, but RI loads it successfully
-----------------------------------------------------------------------------------------

                 Key: HARMONY-3634
                 URL: https://issues.apache.org/jira/browse/HARMONY-3634
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Mikhail Fursov
         Attachments: test.zip

While trying joda-time library (JSR310, http://joda-time.sourceforge.net/) I've found a strange
difference in serialization behaviour of RI and DRLVM.

DRLVM fails to load an object because of:
java.lang.ClassNotFoundException: org.joda.time.chrono.BaseGJChronology
        at java.net.URLClassLoader.findClass(URLClassLoader.java:631)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:554)
        at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:941)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:311)
        at java.lang.Class.forName(Class.java:171)
        at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:2399)
        at java.io.ObjectInputStream.readNewClassDesc(ObjectInputStream.java:1690)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:716)
        at java.io.ObjectInputStream.readNewClassDesc(ObjectInputStream.java:1714)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:716)
        at java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1842)
        at java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:820)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:2129)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:2081)
        at Hello.main(Hello.java:10)

and this class is really do not exists, while SUN and BEA loads the object successfully.

See test.zip for more details.


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


Mime
View raw message