if(!context.getSession().getSecurityManager().allowNewInstance(clazz)) {
throw new EvalException("Permission to create a new instance of class '%s' has been denied by the security manager",
className);
}
ExternalPtr ptr = new ExternalPtr(clazz);
rho.setVariable(Symbol.get(clazz.getSimpleName()), ptr);
context.setInvisibleFlag();
return ptr;
}