hg: jdk/jdk: 8250629: do not allow C-style array declaration in record components
vicente.romero at oracle.com
vicente.romero at oracle.com
Fri Jul 31 16:15:43 UTC 2020
Changeset: 059df93c90a4
Author: vromero
Date: 2020-07-31 12:13 -0400
URL: https://hg.openjdk.java.net/jdk/jdk/rev/059df93c90a4
8250629: do not allow C-style array declaration in record components
Reviewed-by: jlahoda
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/langtools/tools/javac/diags/examples/RecordsComponentsCanNotDeclareCStyleArrays.java
! test/langtools/tools/javac/records/RecordCompilationTests.java
More information about the jdk-changes
mailing list