This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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]

Re: Some observations on developing with gcj


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

Jeff


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