[Bug libgcj/7532] shutdown hooks not run upon abnormal termination
aph at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Sep 23 07:50:00 GMT 2004
------- Additional Comments From aph at gcc dot gnu dot org 2004-09-23 07:49 -------
The signal handler (here called "shutdown()") can't legally be unwound if
::java::lang::System::exit throws an exception. Studying the libgcj runtime
code, I'm not sure if this might happen. The Java class lib spec says "This
method never returns normally", suggesting that an exceptional return is possible.
We could simply catch everything in shutdown() and then call exit(). With that
and the removal of ::gcj::reduceSignalUsage this patch would be fine for POSIXy
systems.
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2004-08-27 04:05:12 |2004-09-23 07:50:02
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7532
More information about the Gcc-bugs
mailing list