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

Code quality improvements in com.sun.tools.javac.code.TypeAnnotations

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b01

      Description

      The review thread for JDK-8208470 revealed some code cleanup opportunities in TypeAnnotations.

      * The helper method findTypeCompoundPosition is unused (http://mail.openjdk.java.net/pipermail/compiler-dev/2018-July/012254.html)

      * There is redundant and inconsistent handling of type annotation positions in typeWithAnnotations (http://mail.openjdk.java.net/pipermail/compiler-dev/2018-December/012743.html)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cushon Liam Miller-Cushon
              Reporter:
              cushon Liam Miller-Cushon
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: