jdk-24/test/langtools/tools/javac/InterfaceOverrideFinal.java

10 lines
294 B
Java
Raw Normal View History

2007-12-01 00:00:00 +00:00
/*
* @test /nodynamiccopyright/
* @bug 4668238 4721069
* @summary compiler must reject interface "overriding" final Object meth.
* @compile/fail/ref=InterfaceOverrideFinal.out -XDrawDiagnostics InterfaceOverrideFinal.java
2007-12-01 00:00:00 +00:00
*/
public interface InterfaceOverrideFinal {
void notify();
}