< prev index next >

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

Print this page

        

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

@@ -34,11 +34,11 @@
 
 import java.lang.reflect.Field;
 
 public class TestMethodHandles {
 
-    // private static field of nest-top for nestmates to access
+    // private static field of nest-host for nestmates to access
     private static int priv_field;
 
     // public constructor so we aren't relying on private access
     public TestMethodHandles() {}
 
< prev index next >