Skip to content
Permalink
Browse files
8260959: remove RECORDS from PreviewFeature.Feature enum
Reviewed-by: jlahoda
  • Loading branch information
Vicente Romero committed Mar 16, 2021
1 parent 05fe06a commit 9cb9af68659eaa60c9523c23a85ea37af57a5280
Showing 1 changed file with 0 additions and 6 deletions.
@@ -54,12 +54,6 @@
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.

0 comments on commit 9cb9af6

Please sign in to comment.