sm.checkPermission (new SerializablePermission ("enableSubtitution"));
sm.checkPermission (new SerializablePermission ("enableSubstitution"));
  protected boolean enableResolveObject (boolean enable)    throws SecurityException  {    if (enable)      {	SecurityManager sm = System.getSecurityManager ();	if (sm != null)	  sm.checkPermission (new SerializablePermission ("enableSubtitution"));      }    boolean old_val = this.resolveEnabled;    this.resolveEnabled = enable;    return old_val;  }