This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/28531] [win32] serialisation is broken on mingw (works on linux)
- From: "mtrudel at gmx dot ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Nov 2006 13:14:18 -0000
- Subject: [Bug java/28531] [win32] serialisation is broken on mingw (works on linux)
- References: <bug-28531-13027@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from mtrudel at gmx dot ch 2006-11-21 13:14 -------
There are actually two bugs:
1. Before a change in the SJLJ exception routines for Windows, Serialization
was broken because _Jv_StackTrace::GetCallingClass() always returned NULL
instead of the jclass.
2. After that change, _Jv_StackTrace::GetCallingClass() was implemented but it
actually returns the wrong jclass, what leaves Serialization broken.
Because the mentioned SJLJ exception introduced a regression in JNI handling
which affects some of my programs
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29477), I work with a GCJ without
that patch. So the attached patch to get Serialization to work only works by
reverting the mentioned SJLJ change.
It's really time to get DWARF excptions running for mingw. It really would be
the most prober solution...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28531