langtools/test/tools/javac/InterfaceOverrideFinal.java
author hannesw
Tue, 22 Mar 2016 14:23:16 +0100
changeset 36690 06b714373aa4
parent 26529 10ec5e52bf75
permissions -rw-r--r--
8151810: for-in iteration does not provide per-iteration scope Reviewed-by: attila, lagergren

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