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

Bootstrap javac having problem finding features flags

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P2
    • 16
    • 14
    • tools
    • None

    Description

      From Jim Laskey:

      Ran into a javac bootstrap issue not sure what is wrong. I switched from a 13 to a 14 bootstrap for my text blocks changes and now I'm getting.

      warning: unknown enum constant Feature.TEXT_BLOCKS
      warning: unknown enum constant Feature.TEXT_BLOCKS
      warning: unknown enum constant Feature.TEXT_BLOCKS

      for the 3 checkSourceLevel in JavaTokenizer.java.

      but Source clearly has TEXT_BLOCKS(JDK15, Fragments.FeatureTextBlocks, DiagKind.PLURAL),

      JavaTokenizer.java has import com.sun.tools.javac.code.Source.Feature;

      This is after a nuked build folder configure

      Switching back to 13 works fine

      Attachments

        Issue Links

          Activity

            People

              jlahoda Jan Lahoda
              jlaskey Jim Laskey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: