hg: jdk/sandbox: 8235446: confusing error message for records with no parens

chris.hegarty at oracle.com chris.hegarty at oracle.com
Fri Dec 6 19:30:18 UTC 2019


Changeset: 5f73126dc390
Author:    vromero
Date:      2019-12-06 14:23 -0500
URL:       https://hg.openjdk.java.net/jdk/sandbox/rev/5f73126dc390

8235446: confusing error message for records with no parens
Reviewed-by: mcimadamore

! 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/IncorrectRecordDeclaration.java
! test/langtools/tools/javac/records/RecordCompilationTests.java



More information about the jdk-sandbox-changes mailing list