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

Results from Processor.getSupportedAnnotationTypes should be intepreted strictly

XMLWordPrintable

    • b156
    • Verified

        If a Processor.getSupportedAnnotationTypes returns annotation type with a module prefix (i.e. "<module>/<annotation-type-prefix>"), it should be interpreted strictly, so in a non-module mode, it wouldn't match anything.

        The AbstractProcessor.getSupportedAnnotationTypes should interpret @SuppportedAnnotationTypes more laxly and strip <module>/ for -source <= 8.

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

                Created:
                Updated:
                Resolved: