hotspot/src/share/vm/prims/jvm.h
changeset 1550 be2fc37a817f
parent 781 e1baa9c8f16f
child 3578 411436f0a4a2
--- a/hotspot/src/share/vm/prims/jvm.h	Wed Nov 12 11:01:31 2008 -0800
+++ b/hotspot/src/share/vm/prims/jvm.h	Wed Nov 12 22:33:26 2008 -0800
@@ -422,6 +422,14 @@
                           const jbyte *buf, jsize len, jobject pd,
                           const char *source);
 
+/* Define a class with a source (MLVM) */
+JNIEXPORT jclass JNICALL
+JVM_DefineClassWithCP(JNIEnv *env, const char *name, jobject loader,
+                      const jbyte *buf, jsize len, jobject pd,
+                      const char *source,
+                      // same args as JVM_DefineClassWithSource to this point
+                      jobjectArray constants);
+
 /*
  * Reflection support functions
  */