Ian Rogers wrote:
> 3) initialise sm to a default_sm object

This is probably the best alternative, but you must be careful in the
implementation of System.getSecurityManager().  This method should
return null when your "default" object is in place.  (Otherwise, it
wouldn't conform to the API specification).

The consequence of this is that, internally, the class library shouldn't
use System.getSecurityManager() to get the security manager...

Etienne
-- 
----------------------------------------------------------------------
Etienne M. Gagnon, M.Sc.                     e-mail: [EMAIL PROTECTED]
Author of SableVM:                             http://www.sablevm.org/
----------------------------------------------------------------------

Reply via email to