RFR: JDK-8235778: No compilation error reported when a record is declared in a local class

Vicente Romero vicente.romero at oracle.com
Wed Dec 11 23:39:37 UTC 2019


Hi,

Please review the fix for [1] at [2]. Records are not allowed to be 
defined inside inner classes. This patch extends the check to local 
inner classes which was missing.

Thanks,
Vicente

https://bugs.openjdk.java.net/browse/JDK-8235778
http://cr.openjdk.java.net/~vromero/8235778/webrev.00/



More information about the compiler-dev mailing list