This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]