8260959: remove RECORDS from PreviewFeature.Feature enum
Reviewed-by: jlahoda
This commit is contained in:
parent
05fe06a6ba
commit
9cb9af6865
@ -54,12 +54,6 @@ public @interface PreviewFeature {
|
|||||||
public boolean reflective() default false;
|
public boolean reflective() default false;
|
||||||
|
|
||||||
public enum Feature {
|
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,
|
SEALED_CLASSES,
|
||||||
/**
|
/**
|
||||||
* A key for testing.
|
* A key for testing.
|
||||||
|
Loading…
Reference in New Issue
Block a user