Re: RFE: handling the bad ^C kills...

Hi !

----

Yves Lafon wrote:

> > I found a solution how to handle "jigsaw has been killed by ^C" problem:
> >
> > In JDK 1.3 beta java.lang.RunTime has a new method called
> > addShutDownHook() which can be used to implement a "fast" shutdown
> > mechanism...
> > Yves ? Benoit ? Any comments ?
>
> Sounds like something good! The best place to add this is in the
> ServerHandlerManager, so that it can call the shutdown method on all the
> ServerHandlers. The only problem is to write code for a jdk in beta, and
> not all platforms even have a jdk1.2 :(

I don't rememer it excactly - maybe the method was intrucudes for JDK 1.2...
does someone have this info ?

For JDK 1.1 there may be no solution (using this way), but this is life -
nothing is perfect :-)

----

Bye,
Roland

--
  __ .  . __
 (o.\ \/ /.o) Roland.Mainz@informatik.med.uni-giessen.de
  \__\/\/__/  gisburn@informatik.med.uni-giessen.de
  /O /==\ O\  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
 (;O/ \/ \O;) TEL +49 (0) 641/99-13193 FAX +49 (0) 641/99-41359

Received on Tuesday, 11 January 2000 11:55:01 UTC