Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8242472

Comment for unused PreviewFeature.Feature.TEXT_BLOCKS enum

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P3
    • 15
    • 15
    • tools
    • b19

    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."

      Attachments

        Issue Links

          Activity

            People

              jlaskey Jim Laskey (Inactive)
              jlaskey Jim Laskey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: