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

Refactor annotation array value parsing to reduce duplication

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 11
    • None
    • 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

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

                Created:
                Updated:
                Resolved: