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

clean up JavacAnnotatedConstruct

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • tools
    • b75
    • 8
    • b113
    • Verified

      model/JavacAnnotatedConstruct needs to be cleaned up.

      - We need input validation on unpacking the the array for repeated annotations.

      - There is lots of code duplication

      - The functionality should be moved to preferably an abstract base type to Symbol and Type. If that introduced performance penalty in general the file can be refactored, most of the methods can be moved to Symbol or Type and a common interface JCAnnoConstruct can be introduced. In 9 we can then move the rest of this code into default methods in JCAnnoConstruct.

            alundblad Andreas Lundblad (Inactive)
            jfranck Joel Borggrén-Franck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: