[Bug java/28531] [win32] serialisation is broken on mingw (works on linux)
mtrudel at gmx dot ch
gcc-bugzilla@gcc.gnu.org
Tue Nov 21 13:14:00 GMT 2006
------- 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
More information about the Java-prs
mailing list