hg: jdk10/sandbox/langtools: 7170058: Confusing error message from javac when overriding a method from a raw supertype

chris.hegarty at oracle.com chris.hegarty at oracle.com
Thu Jun 1 20:17:32 UTC 2017


Changeset: 3b9297698293
Author:    vromero
Date:      2017-06-01 12:51 -0700
URL:       http://hg.openjdk.java.net/jdk10/sandbox/langtools/rev/3b9297698293

7170058: Confusing error message from javac when overriding a method from a raw supertype
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/tools/javac/generics/6182950/T6182950b.out
! test/tools/javac/generics/6476118/T6476118a.java
! test/tools/javac/generics/6476118/T6476118a.out
! test/tools/javac/generics/6476118/T6476118b.java
! test/tools/javac/generics/6476118/T6476118b.out
! test/tools/javac/generics/6476118/T6476118c.java
! test/tools/javac/generics/6476118/T6476118c.out
! test/tools/javac/generics/6985719/T6985719a.out
! test/tools/javac/generics/6985719/T6985719b.out
! test/tools/javac/generics/6985719/T6985719c.java
! test/tools/javac/generics/6985719/T6985719c.out
! test/tools/javac/generics/6985719/T6985719d.java
! test/tools/javac/generics/6985719/T6985719d.out
! test/tools/javac/generics/6985719/T6985719e.out
! test/tools/javac/generics/6985719/T6985719f.out
! test/tools/javac/generics/6985719/T6985719g.java
! test/tools/javac/generics/6985719/T6985719g.out
! test/tools/javac/generics/6985719/T6985719h.java
! test/tools/javac/generics/6985719/T6985719h.out
! test/tools/javac/generics/7007615/T7007615.java
! test/tools/javac/generics/7007615/T7007615.out
! test/tools/javac/generics/7020657/T7020657neg.out
! test/tools/javac/generics/7022054/T7022054neg1.out
! test/tools/javac/generics/7022054/T7022054pos1.out
! test/tools/javac/generics/7034019/T7034019c.out
! test/tools/javac/generics/7034019/T7034019d.out
! test/tools/javac/generics/ErasureClashCrash.java
! test/tools/javac/generics/ErasureClashCrash.out
! test/tools/javac/generics/T4757416.java
! test/tools/javac/generics/T4757416.out
! test/tools/javac/generics/rawOverride/7157798/Test4.java
! test/tools/javac/generics/rawOverride/7157798/Test4.out
! test/tools/javac/lambda/funcInterfaces/NonSAM2.java
! test/tools/javac/lambda/funcInterfaces/NonSAM2.out
! test/tools/javac/modules/T8159439/NPEForModuleInfoWithNonZeroSuperClassTest.out



More information about the jdk10-sandbox-changes mailing list