test/tools/javac/HiddenAbstractMethod/Test

changeset 1
9a66ca7c79fa
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/tools/javac/HiddenAbstractMethod/Test	Sat Dec 01 00:00:00 2007 +0000
     1.3 @@ -0,0 +1,12 @@
     1.4 +/*
     1.5 + * @test
     1.6 + * @bug 1240831
     1.7 + * @summary Certain classes should have been reported as abstract, but
     1.8 + *          the compiler failed to detect this.  This comes up when a
     1.9 + *          subclass declares a method with the same name as an
    1.10 + *          unimplemented, unaccessible method in a superclass.  Even though
    1.11 + *          the method has the same name, it does not override.
    1.12 + * @author turnidge
    1.13 + *
    1.14 + * @compile/fail -nowrite one/Parent.java two/Child.java
    1.15 + */

mercurial