JDK-8198669 : Refactor annotation array value parsing to reduce duplication
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang:reflect
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-02-25
  • Updated: 2018-06-26
  • Resolved: 2018-06-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11
11 b19Fixed
Related Reports
Relates :  
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