public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
[parent not found: <20020807153600.7532.jmr@fulcrummicro.com>]
* [Bug libgcj/7532] shutdown hooks not run upon abnormal termination
[not found] <20020807153600.7532.jmr@fulcrummicro.com>
@ 2004-09-23 7:50 ` aph at gcc dot gnu dot org
0 siblings, 0 replies; 3+ messages in thread
From: aph at gcc dot gnu dot org @ 2004-09-23 7:50 UTC (permalink / raw)
To: java-prs
------- 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-12-01 14:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-7532-3243@http.gcc.gnu.org/bugzilla/>
2005-12-01 12:46 ` [Bug libgcj/7532] shutdown hooks not run upon abnormal termination thebohemian at gmx dot net
2005-12-01 14:05 ` thebohemian at gmx dot net
[not found] <20020807153600.7532.jmr@fulcrummicro.com>
2004-09-23 7:50 ` aph at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).