test/tools/javac/HiddenAbstractMethod/Test.java

Tue, 21 May 2013 14:33:09 +0100

author
vromero
date
Tue, 21 May 2013 14:33:09 +0100
changeset 1775
08daea43a7f8
parent 1
test/tools/javac/HiddenAbstractMethod/Test@9a66ca7c79fa
child 2525
2eb010b6cb22
permissions
-rw-r--r--

7164114: Two jtreg tests are not run due to no file extension on the test files
Reviewed-by: mcimadamore

     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