git: openjdk/mobile: 8235446: confusing error message for records with no parens

duke duke at openjdk.java.net
Fri Dec 6 19:28:13 UTC 2019


Changeset: bf2f855c
Author:    Vicente Romero <vromero at openjdk.org>
Date:      2019-12-06 14:23:17 +0000
URL:       https://git.openjdk.java.net/mobile/commit/bf2f855c

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 mobile-changes mailing list