hg: amber/amber: every non-canonical constructor has to call another record constrictor

vicente.romero at oracle.com vicente.romero at oracle.com
Wed Oct 30 20:24:53 UTC 2019


Changeset: d24487b98f62
Author:    vromero
Date:      2019-10-30 16:21 -0400
URL:       https://hg.openjdk.java.net/amber/amber/rev/d24487b98f62

every non-canonical constructor has to call another record constrictor

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



More information about the amber-dev mailing list