1/* 2 * @test /nodynamiccopyright/ 3 * @bug 4668238 4721069 4 * @summary compiler must reject interface "overriding" final Object meth. 5 * @compile/fail/ref=InterfaceOverrideFinal.out -XDrawDiagnostics InterfaceOverrideFinal.java 6 */ 7public interface InterfaceOverrideFinal { 8 void notify(); 9} 10