Home | History | Annotate | Download | only in vm

Lines Matching refs:classLoader

40      * ClassLoader. MsgHelp uses the bootstrap ClassLoader to find the resource
42 * ClassLoader of the method (including natives) at the specified depth on
53 * @param depth the stack depth of the requested ClassLoader
54 * @return the ClassLoader at the specified depth
55 * @see java.lang.ClassLoader#getStackClassLoader
57 static final ClassLoader getStackClassLoader(int depth) {
67 * answer the most recent non-null and non-bootstrap ClassLoader on the
68 * stack of the calling thread. If no such ClassLoader is found, null is
72 * @return the first non-bootstrap ClassLoader on the stack
74 static public final ClassLoader getNonBootstrapClassLoader() {
79 * Initialize the classloader.
81 * @param loader ClassLoader the ClassLoader instance
84 public final static void initializeClassLoader(ClassLoader loader, boolean bootLoader) {
109 * @param classLoader the classloader to do the work
111 static Class<?> findClassOrNull(String className, ClassLoader classLoader) {
119 * Returns the ClassLoader of the method that called the caller. i.e. A.x()
120 * calls B.y() calls callerClassLoader(), A's ClassLoader will be returned.
121 * Returns null for the bootstrap ClassLoader.
123 * @return a ClassLoader or null for the bootstrap ClassLoader
126 public static ClassLoader callerClassLoader() {
133 * ClassLoader. MsgHelp uses the bootstrap ClassLoader to find the resource
137 * Returns the ClassLoader of the method that called the caller. i.e. A.x()
138 * calls B.y() calls callerClassLoader(), A's ClassLoader will be returned.
139 * Returns null for the bootstrap ClassLoader.
141 * @return a ClassLoader
145 public static ClassLoader bootCallerClassLoader() {
231 * ClassLoader. Valid types are: CPE_TYPE_UNKNOWN CPE_TYPE_DIRECTORY
234 * @param classLoader the ClassLoader
239 static final int getClassPathEntryType(Object classLoader, int cpIndex) {