langtools/test/tools/javac/HiddenAbstractMethod/Test.java
author katleman
Thu, 21 Aug 2014 14:16:14 -0700
changeset 25878 6d561031123e
parent 17800 fba31de14b46
child 30716 1bbdff43424d
permissions -rw-r--r--
Added tag jdk9-b27 for changeset 98ce0879ab4c

/*
 * @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
 */