test/tools/javac/HiddenAbstractMethod/Test.java

Thu, 06 Jun 2013 15:37:23 +0100

author
mcimadamore
date
Thu, 06 Jun 2013 15:37:23 +0100
changeset 1813
f218bb5ebd53
parent 1775
08daea43a7f8
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8015648: Duplicate variable in lambda causes javac crash
Summary: Missing flag in synthetic lambda blog is causing duplicates symbol to go undetected
Reviewed-by: jjg, vromero

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 *
vromero@1775 11 * @compile/fail one/Parent.java two/Child.java
duke@1 12 */

mercurial