Refactor annotation array value parsing to reduce duplication

XMLWordPrintable

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

        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

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

                Created:
                Updated:
                Resolved: