hg: amber/amber: issue an error if the accessor returned type doesnt match exactly with that of the corresponding component

vicente.romero at oracle.com vicente.romero at oracle.com
Fri Jun 21 20:27:28 UTC 2019


Changeset: fe2ae6f104db
Author:    vromero
Date:      2019-06-21 16:25 -0400
URL:       http://hg.openjdk.java.net/amber/amber/rev/fe2ae6f104db

issue an error if the accessor returned type doesnt match exactly with that of the corresponding component

! 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/records/mandated_members/accessors/BadAccessorsTest.java
+ test/langtools/tools/javac/records/mandated_members/accessors/BadAccessorsTest.out



More information about the amber-dev mailing list