--- old/src/hotspot/share/classfile/classLoaderExt.hpp 2018-04-09 15:29:54.744722841 -0700 +++ new/src/hotspot/share/classfile/classLoaderExt.hpp 2018-04-09 15:29:54.475697468 -0700 @@ -94,8 +94,8 @@ #if INCLUDE_CDS static char* get_class_path_attr(const char* jar_path, char* manifest, jint manifest_size); static void setup_app_search_path(); // Only when -Xshare:dump - static void process_module_table(ModuleEntryTable* met); - static void setup_module_search_path(); + static void process_module_table(ModuleEntryTable* met, TRAPS); + static void setup_module_search_path(TRAPS); static SharedPathsMiscInfoExt* shared_paths_misc_info() { return (SharedPathsMiscInfoExt*)_shared_paths_misc_info; } @@ -123,7 +123,7 @@ } static void setup_search_paths() NOT_CDS_RETURN; - static void setup_module_paths() NOT_CDS_RETURN; + static void setup_module_paths(TRAPS) NOT_CDS_RETURN; #if INCLUDE_CDS private: