changeset 7806:4bb9951b9a12

Add module version and location to JVM_DefineModule
author alanb
date Tue, 03 Feb 2015 14:09:38 +0000
parents 35f7a63f6260
children 6742fb545950
files src/share/vm/prims/jvm.cpp src/share/vm/prims/jvm.h
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/prims/jvm.cpp	Mon Feb 02 16:06:47 2015 -0800
+++ b/src/share/vm/prims/jvm.cpp	Tue Feb 03 14:09:38 2015 +0000
@@ -958,7 +958,8 @@
 
 // Module support //////////////////////////////////////////////////////////////////////////////
 
-JVM_ENTRY(jobject, JVM_DefineModule(JNIEnv *env, jstring name, jobject loader, jobjectArray packages))
+JVM_ENTRY(jobject, JVM_DefineModule(JNIEnv *env, jstring name, jstring version, jstring location,
+                                    jobject loader, jobjectArray packages))
   JVMWrapper("JVM_DefineModule");
   return Modules::define_module(env, name, loader, packages);
 JVM_END
--- a/src/share/vm/prims/jvm.h	Mon Feb 02 16:06:47 2015 -0800
+++ b/src/share/vm/prims/jvm.h	Tue Feb 03 14:09:38 2015 +0000
@@ -391,7 +391,8 @@
  */
 
 JNIEXPORT jobject JNICALL
-JVM_DefineModule(JNIEnv *env, jstring name, jobject loader, jobjectArray packages);
+JVM_DefineModule(JNIEnv *env, jstring name, jstring version, jstring location,
+                 jobject loader, jobjectArray packages);
 
 JNIEXPORT void JNICALL
 JVM_AddModuleExports(JNIEnv *env, jobject from_module, jstring package, jobject to_module);