--- old/src/share/vm/classfile/modules.hpp Thu Dec 10 01:38:03 2015 +++ new/src/share/vm/classfile/modules.hpp Thu Dec 10 01:38:02 2015 @@ -111,6 +111,10 @@ // * package is not in from_module static jboolean is_exported_to_module(JNIEnv *env, jobject from_module, jstring package, jobject to_module); + // Return a jobjectArray of all java.lang.reflect.Module objects loaded to the system. + // The returned value is the size of the returned array. + static jsize get_all_modules(JNIEnv *env, jobjectArray *modules); + // Return the java.lang.reflect.Module object for this class object. static jobject get_module(JNIEnv *env, jclass clazz);