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

    • 8
    • b04
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: