exception handling

Jeff Sturm jsturm@one-point.com
Wed Sep 17 07:05:00 GMT 2003


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



More information about the Java mailing list