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

RoundEnvironment.getElementsAnnotatedWith(Class) crashes with -source 8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 12
    • 12
    • 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.

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

              Created:
              Updated:
              Resolved: