--- old/src/share/vm/prims/jvmtiExport.cpp 2017-08-14 19:00:05.259936847 -0400 +++ new/src/share/vm/prims/jvmtiExport.cpp 2017-08-14 19:00:05.029173079 -0400 @@ -764,7 +764,7 @@ ModuleEntry* module_entry = InstanceKlass::cast(klass)->module(); assert(module_entry != NULL, "module_entry should always be set"); if (module_entry->is_named() && - module_entry->module_handle() != NULL && + module_entry->module() != NULL && !module_entry->has_default_read_edges()) { if (!module_entry->set_has_default_read_edges()) { // We won a potential race.