RFR: JDK-8235149: javac parser is too aggressive on ambiguous expressions using identifier: record

Vicente Romero vicente.romero at oracle.com
Mon Jan 27 16:37:02 UTC 2020


Please review the fix for [1] at [2] which fixes a too aggressive 
approach in the parser which is issuing errors for acceptable used of 
the `record` identifier in cases when the preview feature flag is not set.


PS, as part of the patch I have also removed a couple of debug 
statements from RecordCompilationTests in an unrelated test.

[1] https://bugs.openjdk.java.net/browse/JDK-8235149
[2] http://cr.openjdk.java.net/~vromero/8235149/webrev.00/

More information about the compiler-dev mailing list