8015803: Test8015436.java fails 'can not access a member of class Test8015436 with modifiers "public static"'
authorsspitsyn
Tue, 04 Jun 2013 01:06:50 -0700
changeset 17865 0052c3c499ed
parent 17864 29aa71317b51
child 17866 78ed1b8dafe2
child 17867 a309214b7a18
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
hotspot/test/compiler/8015436/Test8015436.java
--- a/hotspot/test/compiler/8015436/Test8015436.java	Mon Jun 03 14:28:37 2013 -0700
+++ b/hotspot/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");