test/tools/javac/HiddenAbstractMethod/Test

Thu, 21 Feb 2013 15:27:05 +0000

author
mcimadamore
date
Thu, 21 Feb 2013 15:27:05 +0000
changeset 1600
3fef0cae83b3
parent 1
9a66ca7c79fa
permissions
-rw-r--r--

8008444: Inherited generic functional descriptors are merged incorrectly
Summary: Missing call to Types.createMethodWithThrownTypes
Reviewed-by: jjg

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

mercurial