< prev index next >

src/hotspot/share/interpreter/linkResolver.cpp

Print this page

        

@@ -609,11 +609,11 @@
              (same_module) ? ref_klass->joint_in_module_of_loader(sel_klass) : ref_klass->class_in_module_of_loader(),
              (same_module) ? "" : "; ",
              (same_module) ? "" : sel_klass->class_in_module_of_loader()
              );
 
-    // For private access check if there was a problem with nest host
+    // For private access see if there was a problem with nest host
     // resolution, and if so report that as part of the message.
     if (sel_method->is_private()) {
       print_nest_host_error_on(&ss, ref_klass, sel_klass, THREAD);
     }
 

@@ -949,11 +949,11 @@
              fd.name()->as_C_string(),
              (same_module) ? ref_klass->joint_in_module_of_loader(sel_klass) : ref_klass->class_in_module_of_loader(),
              (same_module) ? "" : "; ",
              (same_module) ? "" : sel_klass->class_in_module_of_loader()
              );
-    // For private access check if there was a problem with nest host
+    // For private access see if there was a problem with nest host
     // resolution, and if so report that as part of the message.
     if (fd.is_private()) {
       print_nest_host_error_on(&ss, ref_klass, sel_klass, THREAD);
     }
     Exceptions::fthrow(THREAD_AND_LOCATION,
< prev index next >