Methods Summary |
---|
public static native java.lang.ClassLoader | getCallingClassLoader()Returns the defining class loader of the caller's caller.
|
public static native java.lang.ClassLoader | getCallingClassLoader2()Returns the defining class loader of the caller's caller's caller.
|
public static native java.lang.Class[] | getClasses(int maxDepth, boolean stopAtPrivileged)Creates an array of classes from the methods at the top of the stack.
We continue until we reach the bottom of the stack or exceed the
specified maximum depth. If stopAtPrivileged is set, the last
element of the array will be the caller of the most-recent privileged
method.
The topmost stack frame (this method) and the one above that (the
caller) are excluded from the array. Frames with java.lang.reflect
classes are skipped over.
The classes in the array are the defining classes of the methods.
This is expected to be identical to Harmony's VMStack.getClasses.
|
public static native java.lang.StackTraceElement[] | getThreadStackTrace(java.lang.Thread t)Retrieves the stack trace from the specified thread.
|