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

RoundEnvironment.getElementsAnnotatedWith(Class) crashes with -source 8

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 12
    • 12
    • tools
    • None
    • b19

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: