The JDK will exit with status 1 if any thread has thrown an uncaught exception, unless System.exit() is called explicitly. This patch implements this behaviour. regards [ bryce ]