RFR: JDK14-8236005: local records shouldn't capture any non-static state from any enclosing type

Vicente Romero vicente.romero at oracle.com
Fri Jan 10 03:54:26 UTC 2020


Please review the fix for [1] at [2]. This fix is for the compiler to 
emit an error if a local record accesses non-static state from the 
enclosing environment


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

More information about the compiler-dev mailing list