Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8027181 Type Annotations Cleanup
  3. JDK-8027262

Determine location for type annotations earlier in compiler pipeline

    XMLWordPrintable

Details

    • 8

    Backports

      Description

        Presently, the location and type path information for a type annotation is determined by resolveFrame, which is called late in the pipeline, after repeating annotations handling in particular. This is a source of problems, not the least of which is that the position of some annotations is not updated until after repeating annotations has built containers.

        An alternative is to build location information during attribution, attach it to the JCAnnotation tree node, and use the information when attaching annotations to their respective symbols.

        Attachments

          Issue Links

            Activity

              People

                emc Eric Mccorkle
                emc Eric Mccorkle
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: