--- old/src/share/vm/classfile/classLoader.hpp 2016-08-08 20:36:16.000000000 -0700 +++ new/src/share/vm/classfile/classLoader.hpp 2016-08-08 20:36:16.000000000 -0700 @@ -150,7 +150,7 @@ // ModuleClassPathList contains a linked list of ClassPathEntry's // that have been specified for a specific module. Currently, -// the only way to specify a module/path pair is via the -Xpatch +// the only way to specify a module/path pair is via the --patch-module // command line option. class ModuleClassPathList : public CHeapObj { private: @@ -213,8 +213,8 @@ static PerfCounter* _load_instance_class_failCounter; // The boot class path consists of 3 ordered pieces: - // 1. the module/path pairs specified to -Xpatch - // -Xpatch:=()* + // 1. the module/path pairs specified to --patch-module + // --patch-module==()* // 2. the base piece // [exploded build | jimage] // 3. boot loader append path @@ -223,8 +223,8 @@ // The boot loader must obey this order when attempting // to load a class. - // Contains the module/path pairs specified to -Xpatch - static GrowableArray* _xpatch_entries; + // Contains the module/path pairs specified to --patch-module + static GrowableArray* _patch_mod_entries; // Contains the ClassPathEntry instances that include // both the base piece and the boot loader append path. @@ -352,8 +352,8 @@ return _load_instance_class_failCounter; } - // Set up the module/path pairs as specified to -Xpatch - static void setup_xpatch_entries(); + // Set up the module/path pairs as specified to --patch-module. + static void setup_patch_mod_entries(); // Sets _has_jimage to TRUE if "modules" jimage file exists static void set_has_jimage();