8253455: Record Classes javax.lang.model changes

Reviewed-by: darcy
This commit is contained in:
Vicente Romero 2020-10-19 02:03:10 +00:00
parent c17d58516f
commit 272bb5d580
12 changed files with 18 additions and 139 deletions

View file

@ -62,6 +62,11 @@ public @interface PreviewFeature {
// 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
// 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,
;