hg: jdk9/dev/langtools: 8073616: Duplicate error message: cannot inherit from final (class) F

srikanth.adayapalam at oracle.com srikanth.adayapalam at oracle.com
Fri Nov 13 12:39:56 UTC 2015


Changeset: bcefe0a2b55c
Author:    sadayapalam
Date:      2015-11-13 18:09 +0530
URL:       http://hg.openjdk.java.net/jdk9/dev/langtools/rev/bcefe0a2b55c

8073616: Duplicate error message: cannot inherit from final (class) F
Summary: Ensure that the compiler does not emit duplicate errors at slightly different source positions.
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/generics/CheckNoDuplicateErrors.java
+ test/tools/javac/generics/CheckNoDuplicateErrors.out
! test/tools/javac/lambda/TargetType68.out



More information about the jdk9-dev-changes mailing list