If a System.exit() was called - then it was an abnormal shutdown. The normal(good) shutdown occurs when all non-daemon threads peacefully quit and the JVM stops running. In this case - I have no idea what the exit code is. I wanted to be able to signify that System.exit was called.

Since the startup scripts don't keep track of how the JVM exited, it really doesn't matter what exit code is used since no one is probably tracking it.


-Tim


Shapira, Yoav wrote:
Howdy,
One comment/question: the killing thread will only be used by choice,
i.e. someone explicitly setting the shutdownWait > 0.  Accordingly, for
that person the killing thread shutdown will be a normal shutdown, and
the exit status should be zero instead of one, right?

Yoav Shapira
Millennium ChemInformatics




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to