harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Shimansky <gshiman...@gmail.com>
Subject Re: [classlib][IBMVME]the return value of java.exe
Date Tue, 31 Oct 2006 21:13:22 GMT
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

Mime
View raw message