8260959: remove RECORDS from PreviewFeature.Feature enum

Reviewed-by: jlahoda
This commit is contained in:
Vicente Romero 2021-03-16 19:37:56 +00:00
parent 05fe06a6ba
commit 9cb9af6865

View File

@ -54,12 +54,6 @@ public @interface PreviewFeature {
public boolean reflective() default false;
public enum Feature {
// The RECORDS enum constant is not used in the JDK 16 codebase, but
// exists to support the bootcycle build of JDK 16. The bootcycle build
// of JDK 16 is performed with JDK 15 and the PreviewFeature type from
// JDK 16. Since the JDK 15 codebase uses the enum constant, it is
// necessary for PreviewFeature in JDK 16 to declare the enum constant.
RECORDS,
SEALED_CLASSES,
/**
* A key for testing.