< prev index next >

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

Print this page

        

@@ -22,15 +22,15 @@
  */
 
 /*
  * @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 that will
  *          generate invokespecial for the calls. The -Xcomp run is a special
  *          regression test for a compiler assertion that would fire when
- *          "loading" a nest-top class.
+ *          "loading" a nest-host class.
  * @run main TestInvokeSpecial
  * @run main/othervm -Xcomp TestInvokeSpecial
  */
 
 public class TestInvokeSpecial {

@@ -103,11 +103,11 @@
             Object obj = new StaticIface() {};
         }
     }
 
     public static void main(String[] args) {
-        // These initial constructions test nest-top access
+        // These initial constructions test nest-host access
         TestInvokeSpecial o = new TestInvokeSpecial();
         StaticNested s = new StaticNested();
         InnerNested i = o.new InnerNested();
         StaticIface intf = new StaticIface() {};
 
< prev index next >