hotspot/src/share/vm/prims/jvmtiExport.cpp
changeset 46961 c9094b1e5f87
parent 46773 fb17cc9a6847
child 47089 27050b653624
--- a/hotspot/src/share/vm/prims/jvmtiExport.cpp	Wed Aug 23 15:47:41 2017 +0200
+++ b/hotspot/src/share/vm/prims/jvmtiExport.cpp	Wed Aug 23 12:00:39 2017 -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.