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

On Tue, 11 Jan 2000, Roland Mainz wrote:

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

I checked in the 1.2.2 doc and it's not there :( Otherwise we would at
least put that in 2.1.* as it already requires jdk1.2.*
 
> For JDK 1.1 there may be no solution (using this way), but this is life -
> nothing is perfect :-)
:)

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    

Received on Tuesday, 11 January 2000 12:55:47 UTC