< prev index next >
test/hotspot/jtreg/runtime/Nestmates/privateStaticMethods/TestInvokeStatic.java
Print this page
*** 22,39 ****
*/
/*
* @test
* @bug 8046171
! * @summary Test access to private static methods between nestmates and nest-top
* using different flavours of named nested types
* @run main TestInvokeStatic
*/
public class TestInvokeStatic {
! // Private static method of nest-top for nestmates to access
private static void priv_static_invoke() {
System.out.println("TestInvokeStatic::priv_static_invoke");
}
// public constructor so we aren't relying on private access
--- 22,39 ----
*/
/*
* @test
* @bug 8046171
! * @summary Test access to private static methods between nestmates and nest-host
* using different flavours of named nested types
* @run main TestInvokeStatic
*/
public class TestInvokeStatic {
! // Private static method of nest-host for nestmates to access
private static void priv_static_invoke() {
System.out.println("TestInvokeStatic::priv_static_invoke");
}
// public constructor so we aren't relying on private access
< prev index next >