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 with 0 additions and 6 deletions.
  1. +0 −6 src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java
@@ -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.

1 comment on commit 9cb9af6

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 9cb9af6 Mar 16, 2021

Please sign in to comment.