Tue, 04 Jun 2013 01:06:50 -0700
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
test/compiler/8015436/Test8015436.java | file | annotate | diff | comparison | revisions |
1.1 --- a/test/compiler/8015436/Test8015436.java Mon Jun 03 14:28:37 2013 -0700 1.2 +++ b/test/compiler/8015436/Test8015436.java Tue Jun 04 01:06:50 2013 -0700 1.3 @@ -48,7 +48,7 @@ 1.4 } 1.5 } 1.6 1.7 -class Test8015436 implements InterfaceWithDefaultMethod { 1.8 +public class Test8015436 implements InterfaceWithDefaultMethod { 1.9 @Override 1.10 public void someMethod() { 1.11 System.out.println("someMethod() invoked");