langtools/test/tools/javac/HiddenAbstractMethod/Test.java
author vromero
Tue, 21 May 2013 14:33:09 +0100
changeset 17800 fba31de14b46
parent 10 langtools/test/tools/javac/HiddenAbstractMethod/Test@06bc494ca11e
child 30716 1bbdff43424d
permissions -rw-r--r--
7164114: Two jtreg tests are not run due to no file extension on the test files Reviewed-by: mcimadamore

/*
 * @test
 * @bug 1240831
 * @summary Certain classes should have been reported as abstract, but
 *          the compiler failed to detect this.  This comes up when a
 *          subclass declares a method with the same name as an
 *          unimplemented, unaccessible method in a superclass.  Even though
 *          the method has the same name, it does not override.
 * @author turnidge
 *
 * @compile/fail one/Parent.java two/Child.java
 */