test/tools/javac/HiddenAbstractMethod/Test.java

Mon, 26 Oct 2015 13:23:30 -0700

author
asaha
date
Mon, 26 Oct 2015 13:23:30 -0700
changeset 2999
683b3e7e05a7
parent 1775
08daea43a7f8
child 2525
2eb010b6cb22
permissions
-rw-r--r--

Added tag jdk8u76-b00 for changeset 10ffafaf5340

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

mercurial