--- old/test/hotspot/jtreg/runtime/Nestmates/membership/PackagedNestHost2.java 2017-10-26 03:07:15.400309284 -0400 +++ new/test/hotspot/jtreg/runtime/Nestmates/membership/PackagedNestHost2.java 2017-10-26 03:07:13.516201648 -0400 @@ -34,5 +34,12 @@ public static void m() { System.out.println("You should never see this!"); } + + // Entry point for main test + public static void doAccess() { + // this should fail at runtime as m() will now be private + // and our nest-host won't resolve as it's in a different package + P1.PackagedNestHost.Member.m(); + } } -} \ No newline at end of file +}