jdk-24/langtools/test/tools/javac/OverrideChecks/IncompleteMessageOverride.java
Alexander Zuev 3eb793cd06 8035956: javac, incomplete error message
Reviewed-by: vromero
2014-03-26 10:47:30 -07:00

17 lines
323 B
Java

/*
* @test /nodynamiccopyright/
* @bug 8035956
* @summary javac, incomplete error message
* @author kizune
*
* @run compile/fail/ref=IncompleteMessageOverride.out -XDrawDiagnostics IncompleteMessageOverride.java
*/
class Super {
static void m() {}
}
class Sub extends Super {
private static void m() {}
}