hg: amber/amber: checking that the first statement is an invocation to the canonical constructor, plus removing more checks from TypeEnter

vicente.romero at oracle.com vicente.romero at oracle.com
Sat Oct 26 01:23:37 UTC 2019


Changeset: f75a89474d44
Author:    vromero
Date:      2019-10-25 21:23 -0400
URL:       https://hg.openjdk.java.net/amber/amber/rev/f75a89474d44

checking that the first statement is an invocation to the canonical constructor, plus removing more checks from TypeEnter

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/langtools/tools/javac/diags/examples/ConstructorWithSameErasureAsCanonical.java
+ test/langtools/tools/javac/diags/examples/FirstInvocationMustBeCanonical.java
! test/langtools/tools/javac/diags/examples/InvalidSuperTypeRecord.java
! test/langtools/tools/javac/records/RecordCompilationTests.java



More information about the amber-dev mailing list