# HG changeset patch # User sspitsyn # Date 1370333210 25200 # Node ID 2f004f9dc9e1536ea7f4dcc7f6776edc826be664 # Parent e7d29a019a3cc611087a3d95646c25e09100f247 8015803: Test8015436.java fails 'can not access a member of class Test8015436 with modifiers "public static"' Summary: Newly added test has an issue: the main class must be public Reviewed-by: kvn, jbachorik, coleenp Contributed-by: serguei.spitsyn@oracle.com diff -r e7d29a019a3c -r 2f004f9dc9e1 test/compiler/8015436/Test8015436.java --- a/test/compiler/8015436/Test8015436.java Mon Jun 03 14:28:37 2013 -0700 +++ b/test/compiler/8015436/Test8015436.java Tue Jun 04 01:06:50 2013 -0700 @@ -48,7 +48,7 @@ } } -class Test8015436 implements InterfaceWithDefaultMethod { +public class Test8015436 implements InterfaceWithDefaultMethod { @Override public void someMethod() { System.out.println("someMethod() invoked");