< prev index next >

test/hotspot/jtreg/runtime/Nestmates/privateConstructors/TestMethodHandles.java

Print this page

        

@@ -22,11 +22,11 @@
  */
 
 /*
  * @test
  * @bug 8046171
- * @summary Test access to private constructors between nestmates and nest-top
+ * @summary Test access to private constructors between nestmates and nest-host
  *          using different flavours of named nested types using method handles
  * @run main TestMethodHandles
  */
 
 import java.lang.invoke.*;

@@ -126,11 +126,11 @@
             obj = (StaticNested) mh.invokeExact();
         }
     }
 
     public static void main(String[] args) throws Throwable {
-        // These initial constructions test nest-top access
+        // These initial constructions test nest-host access
         MethodHandle mh =
           lookup().findConstructor(TestMethodHandles.class, NOARG_T);
         TestMethodHandles o = (TestMethodHandles) mh.invoke();
         o = (TestMethodHandles) mh.invokeExact();
 
< prev index next >