[Bug java/28531] New: [win32] serialisation is broken on mingw (works on linux)

mtrudel at gmx dot ch gcc-bugzilla@gcc.gnu.org
Sat Jul 29 13:36:00 GMT 2006


gcj (GCC) 4.2.0 20060726 (experimental)
Deserialize an object fails on Class.forName(). I assumed this would work
because class.forName() doesn't use the stack unwinder any longer.

Exception:
Exception in thread "main" java.lang.ClassNotFoundException: Serialisation
   at
java.lang.Class.forName(/home/trudemar/.eclipse_workspace/gcjSource/libjava/java/lang/natClass.cc:91)
   at
java.io.ObjectInputStream.resolveClass(/home/trudemar/.eclipse_workspace/gcjSource/libjava/java/io/ObjectInputStream.java:800)
   at
java.io.ObjectInputStream.readClassDescriptor(/home/trudemar/.eclipse_workspace/gcjSource/libjava/java/io/ObjectInputStream.java:551)
   at
java.io.ObjectInputStream.readObject(/home/trudemar/.eclipse_workspace/gcjSource/libjava/java/io/ObjectInputStream.java:245)
   at
java.io.ObjectInputStream.readObject(/home/trudemar/.eclipse_workspace/gcjSource/libjava/java/io/ObjectInputStream.java:292)
   at
Serialisation.read(D:/programming/javaCompiler/code/tests/1_console/2_serialisation/Serialisation.java:43)
   at
Serialisation.main(D:/programming/javaCompiler/code/tests/1_console/2_serialisation/Serialisation.java:21)


-- 
           Summary: [win32] serialisation is broken on mingw (works on
                    linux)
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mtrudel at gmx dot ch
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-mingw32
GCC target triplet: i686-pc-mingw32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28531



More information about the Java-prs mailing list