On Tuesday 31 October 2006 16:39 Evgueni Brevnov wrote: > My experiments show that System.exit() terminate the whole process on > RI not only running VM. Do we all agree this is how it should work? > Does this affect embedded VMs in a negative way?
I think that any process that runs JVM in itself and doesn't want to be killed by its System.exit call can use SecurityManager to make it throw SecurityException. I am quite sure that's what a java applet will get if it tries to use System.exit. -- Gregory Shimansky, Intel Middleware Products Division