src/share/vm/classfile/modules.hpp

Print this page

        

*** 109,118 **** --- 109,122 ---- // * Either to_module or from_module does not exist // * package is syntactically incorrect // * 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); // If package is defined by loader, return the // java.lang.reflect.Module object for the module in which the package is defined.