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

Refactor annotation array value parsing to reduce duplication

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11
    • Component/s: core-libs
    • Labels:
      None

      Backports

        Description

        Replace the interior of parseClassArray, parseEnumArray, and parseAnnotationArray with a shared method that is passed a lambda for the type-specific parsing logic, as suggested [1] in the review for JDK-7183985.

        [1] http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-February/051715.html

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: