This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Some observations on developing with gcj
- From: Mark Wielaard <mark at klomp dot org>
- To: Jeff Sturm <jsturm at one-point dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, java at gcc dot gnu dot org
- Date: 09 Aug 2003 23:39:07 +0200
- Subject: Re: Some observations on developing with gcj
- References: <Pine.LNX.4.44.0306301401510.14607-100000@ops2.one-point.com>
Hi,
[Going through some old email]
On Mon, 2003-06-30 at 20:03, Jeff Sturm wrote:
> On 29 Jun 2003, Tom Tromey wrote:
> > >>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:
> >
> > Mark> When closing the program down I wanted to use shutdown
> > Mark> hooks. But they only really work when the program terminates
> > Mark> cleanly. It would be nice if shutdown hooks were also triggered
> > Mark> when the program receives a fatal signal (such as the user
> > Mark> pressing Control-C).
> >
> > Does the JDK do that? This is worthy of a bug report.
>
> It does, and at least one software package (Jetty) relies on shutdown
> hooks to cleanly stop a running server via "kill".
>
> (I wasn't going to file a PR unless I can't get to it soon.)
And how soon is soon :)
Note that there is a PR for this already.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7532
There even is some discussion about how to implement it.
Cheers,
Mark