AnnotationTypeMismatchException instead of MirroredTypeException

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 6u10, 7u25
    • Component/s: tools
    • None
    • b105
    • generic
    • generic
    • Verified

      I am working on API that generates so called "model" classes based on @Model annotation. I'd like to demo this project at JavaOne, but I have a problem: current javac hicks up and throws AnnotationTypeMismatchException instead of expected MirroredTypeException.

      I have a workaround that uses trees API, but I think it would be better if, at JavaOne time, my project worked without hacks with the latest available JDK at the JavaOne time.

      That is why I am proposing a patch to javac for your consideration.

            Assignee:
            Joel Borggrén-Franck (Inactive)
            Reporter:
            Jaroslav Tulach (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: