SecurityManager.classLoaderDepth

SecurityManager.classLoaderDepth

Class Overview | Class Members | This Package | All Packages

Syntax
protected native int classLoaderDepth()
Returns
the depth on the stack frame of the most recent occurrence of a method from a class defined using a class loader; returns -1 if there is no occurrence of a method from a class defined using a class loader.
Description
Returns the stack depth of the most recently executing method from a class defined using a class loader.