Hello everyone,

 

I have been thinking that we should replace the code that handles termination signals and use shutdown hooks to replace it.

 

The reason for this is portability. The signal handling code uses two classes from sun:

import sun.misc.Signal;

import sun.misc.SignalHandler;

 

and therefore we can assume that it won't work with JDKs from other vendors.

 

Also, this code already reported problems with HPUX and we still have to test it in MacOS X. 

 

What do you think? Should we replace it or leave it?

 

Julio Guijarro