RFR: 8260959: remove RECORDS from PreviewFeature.Feature enum

Jonathan Gibbons jjg at openjdk.java.net
Wed Feb 3 01:14:42 UTC 2021


On Tue, 2 Feb 2021 18:33:18 GMT, Vicente Romero <vromero at openjdk.org> wrote:

> Please review this simple fix that is removing the RECORDS enum constant from the PreviewFeature.Feature enum, now that RECORDS are final in 16 this constant can be safely removed.
> 
> Thanks,
> Vicente

Given the scary comment and reference to JDK 15 and boot cycle builds, is it really safe to remove the constant?

-------------

PR: https://git.openjdk.java.net/jdk/pull/2360


More information about the compiler-dev mailing list