This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: exception handling
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Christian Stuellenberg <gcj at stuellenberg dot de>
- Cc: java at gcc dot gnu dot org
- Date: Tue, 16 Sep 2003 18:50:34 -0400 (EDT)
- Subject: Re: exception handling
On Wed, 17 Sep 2003, Christian Stuellenberg wrote:
> $ mingw32-gcj -o c.exe --main=CCTest CCTest.java -L./lib -lgcj \
> -Wl,--enable-runtime-pseudo-reloc
...
> When I now execute the generated executable on a windows host, I get
> an Exception; so the Exception gets not catched.
Mostly likely, the throw cannot cross the DLL boundary unless you also
link with a shared libgcc_s.dll. That'll be a problem with libgcj.dll.
Jeff