< prev index next >

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

Print this page

        

*** 22,39 **** */ /* * @test * @bug 8046171 ! * @summary Test access to private static fields between nestmates and nest-top * using different flavours of named nested types * @run main TestPrivateStaticField */ public class TestPrivateStaticField { ! // Private static field of nest-top for nestmates to access private static int priv_field; // public constructor so we aren't relying on private access public TestPrivateStaticField() {} --- 22,39 ---- */ /* * @test * @bug 8046171 ! * @summary Test access to private static fields between nestmates and nest-host * using different flavours of named nested types * @run main TestPrivateStaticField */ public class TestPrivateStaticField { ! // 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 TestPrivateStaticField() {}
< prev index next >