Bootstrap javac having problem finding features flags

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P2
    • 16
    • Affects Version/s: 14
    • Component/s: tools
    • None

      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

            Assignee:
            Jan Lahoda
            Reporter:
            Jim Laskey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: