8242456: PreviewFeature.Feature enum removal of TEXT_BLOCKS

Reviewed-by: jlaskey
This commit is contained in:
Jan Lahoda 2021-01-26 13:42:40 +00:00
parent e080ce9212
commit 5e8e0ada7a

View file

@ -54,13 +54,6 @@ public @interface PreviewFeature {
public boolean reflective() default false;
public enum Feature {
// 8242284:
// The TEXT_BLOCKS enum constant is not used in the JDK 15 codebase, but
// exists to support the bootcycle build of JDK 15. The bootcycle build
// of JDK 15 is performed with JDK 14 and the PreviewFeature type from
// JDK 15. Since the JDK 14 codebase uses the enum constant, it is
// necessary for PreviewFeature in JDK 15 to declare the enum constant.
TEXT_BLOCKS,
// 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