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 libgcj/7532] shutdown hooks not run upon abnormal termination


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


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