RoundEnvironment.getElementsAnnotatedWith(Class) crashes with -source 8

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 12
    • Affects Version/s: 12
    • Component/s: tools
    • None
    • b19

      The RoundEnvironment.getElementsAnnotatedWith(Class) method may crash if:
      - -source 8 is used
      -the annotation provided cannot be resolved on the javac's classpath

      A testcase is attached.

            Assignee:
            Jan Lahoda
            Reporter:
            Jan Lahoda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: