jdk-24/test/langtools/tools/javac/overrridecrash/B.java

14 lines
292 B
Java
Raw Normal View History

2007-12-01 00:00:00 +00:00
/*
* @test /nodynamiccopyright/
2007-12-01 00:00:00 +00:00
* @bug 4909690
* @summary AssertionError(com.sun.tools.javac.v8.code.Symbol$MethodSymbol.isOverridableIn)
* @author gafter
*
* @compile/fail/ref=B.out -XDrawDiagnostics B.java
2007-12-01 00:00:00 +00:00
*/
public class B extends A
{
private protected int m() { return 0; }
}