public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "mtrudel at gmx dot ch" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/28531]  New: [win32] serialisation is broken on mingw (works on linux)
Date: Sat, 29 Jul 2006 13:36:00 -0000	[thread overview]
Message-ID: <bug-28531-13027@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2006-07-29 13:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-29 13:36 mtrudel at gmx dot ch [this message]
2006-07-29 13:38 ` [Bug java/28531] " mtrudel at gmx dot ch
2006-11-21 13:14 ` mtrudel at gmx dot ch
2006-11-21 13:18 ` mtrudel at gmx dot ch
2007-01-20 10:13 ` mtrudel at gmx dot ch
2007-01-21  1:34 ` tromey at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-28531-13027@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).