Mercurial > hg > truffle
diff src/share/vm/prims/jvm.h @ 982:7a102acc9f17
Merge
author | trims |
---|---|
date | Fri, 25 Sep 2009 12:17:06 -0700 |
parents | 89e0543e1737 ad6585fd4087 |
children | c18cbe5936b8 |
line wrap: on
line diff
--- a/src/share/vm/prims/jvm.h Tue Sep 22 14:06:10 2009 -0700 +++ b/src/share/vm/prims/jvm.h Fri Sep 25 12:17:06 2009 -0700 @@ -417,6 +417,17 @@ const jbyte *buf, jsize len, jobject pd, const char *source); +/* Define a class with a source with conditional verification (added HSX 14) + * -Xverify:all will verify anyway, -Xverify:none will not verify, + * -Xverify:remote (default) will obey this conditional + * i.e. true = should_verify_class + */ +JNIEXPORT jclass JNICALL +JVM_DefineClassWithSourceCond(JNIEnv *env, const char *name, + jobject loader, const jbyte *buf, + jsize len, jobject pd, const char *source, + jboolean verify); + /* Define a class with a source (MLVM) */ JNIEXPORT jclass JNICALL JVM_DefineClassWithCP(JNIEnv *env, const char *name, jobject loader,