8015803: Test8015436.java fails 'can not access a member of class Test8015436 with modifiers "public static"'

Newly added test has an issue: the main class must be public

Reviewed-by: kvn, jbachorik, coleenp
This commit is contained in:
Serguei Spitsyn 2013-06-04 01:06:50 -07:00 committed by Serguei Spitsyn
parent 6d485348e1
commit e609456b0e

View File

@ -48,7 +48,7 @@ interface InterfaceWithDefaultMethod {
}
}
class Test8015436 implements InterfaceWithDefaultMethod {
public class Test8015436 implements InterfaceWithDefaultMethod {
@Override
public void someMethod() {
System.out.println("someMethod() invoked");