RFR: 8260959: remove RECORDS from PreviewFeature.Feature enum

Joe Darcy darcy at openjdk.java.net
Wed Feb 3 01:40:39 UTC 2021


On Wed, 3 Feb 2021 01:12:19 GMT, Jonathan Gibbons <jjg 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?

So currently, JDK 17 can be built with a boot JDK of 15, 16, or 17 (since JDK-8257459: "Bump minimum boot jdk to JDK 16") hasn't been fixed yet.

JDK 17 can currently be used as boot JDK only for itself, right? And in the future be used for JDK 18, and 19.

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

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


More information about the compiler-dev mailing list