jdk/src/share/bin/java.h
changeset 1323 e14a3b3536cd
parent 1145 404b11752c57
child 1331 05e272c957d8
--- a/jdk/src/share/bin/java.h	Wed Sep 24 15:19:07 2008 +0200
+++ b/jdk/src/share/bin/java.h	Wed Sep 24 15:07:41 2008 -0700
@@ -180,4 +180,15 @@
  */
 void InitLauncher(jboolean javaw);
 
+/*
+ * This allows for finding classes from the VM's bootstrap class loader directly,
+ * FindClass uses the application class loader internally, this will cause
+ * unnecessary searching of the classpath for the required classes.
+ *
+ */
+typedef jclass (JNICALL FindClassFromBootLoader_t(JNIEnv *env,
+                                                const char *name,
+                                                jboolean throwError));
+
+jclass FindBootStrapClass(JNIEnv *env, const char *classname);
 #endif /* _JAVA_H_ */