[informal] RFR: JDK-8242293: allow for local interfaces and enums plus nested records, interfaces and enums

Vicente Romero vicente.romero at oracle.com
Thu Apr 9 20:22:36 UTC 2020


Can I please ask for an "informal" review for [1] at [2]. This patch 
will be pushed to the amber repo, branch "records-2", but given that it 
is a non-so-trivial change to the language it will be very helpful to 
have at least an informal review of it. The patch enables static 
declarations in local contexts. This was already enabled for records 
since 14. Well this patch adds the same feature to: interfaces, 
annotations, enums and static classes. It is still forbidden to add a 
static type declaration to an inner class.


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

More information about the compiler-dev mailing list