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

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 13
    • None
    • tools
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: