All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.lang.IJCE_ClassLoaderDepth
Since ClassLoader.classLoaderDepth()
is protected, and
since the JDK does not allow creating a security manager after one has
already been installed, this requires having code in the java.lang package.
Copyright © 1995-1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.1.1.1 $
public static int classLoaderDepth()
If there is no ClassLoader in the call stack of the current thread, -1 is returned. If there is no security manager installed, -2 is returned.
This should only be used to implement higher-level security primitives; never directly to make security decisions.
All Packages Class Hierarchy This Package Previous Next Index