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

Execute TypeAnnotate visitor at queue flush time

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      8
    • Resolved In Build:
      b04
    • Verification:
      Not verified

      Description

      Presently, the TypeAnnotate visitor is executed during the MemberEnter stage, which is not the desirable behavior. Presently, the TypeAnnotate visitor walks down the JCTree, finding type annotations and calling annotateTypeLater, which adds a worker to the queue that eventually executes actualEnterTypeAnnotations on them. It would be better if the order of execution were rearranged so that the Worker executes the TypeAnnotate visitor, which walks down the tree and calls actualEnterTypeAnnotations on any type annotations it finds.

        Attachments

          Activity

            People

            Assignee:
            emc Eric Mccorkle
            Reporter:
            emc Eric Mccorkle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: