Skip to content

Commit 9cb9af6

Browse files
author
Vicente Romero
committed
8260959: remove RECORDS from PreviewFeature.Feature enum
Reviewed-by: jlahoda
1 parent 05fe06a commit 9cb9af6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,6 @@
5454
public boolean reflective() default false;
5555

5656
public enum Feature {
57-
// The RECORDS enum constant is not used in the JDK 16 codebase, but
58-
// exists to support the bootcycle build of JDK 16. The bootcycle build
59-
// of JDK 16 is performed with JDK 15 and the PreviewFeature type from
60-
// JDK 16. Since the JDK 15 codebase uses the enum constant, it is
61-
// necessary for PreviewFeature in JDK 16 to declare the enum constant.
62-
RECORDS,
6357
SEALED_CLASSES,
6458
/**
6559
* A key for testing.

0 commit comments

Comments
 (0)