JDK-8242472 : Comment for unused PreviewFeature.Feature.TEXT_BLOCKS enum
  • Type: Task
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 15
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-04-09
  • Updated: 2020-04-16
  • Resolved: 2020-04-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 15
15 b19Fixed
Related Reports
Relates :  
Description
Add a comment to  jdk.internal.PreviewFeature.Feature.TEXT_BLOCKS enum to indicate why it remains in the code.

"This 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."
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/b559c7e7c4d4 User: jlaskey Date: 2020-04-09 19:32:59 +0000
09-04-2020