RFR 8198669: Refactor annotation array value parsing to reduce duplication

Paul Sandoz paul.sandoz at oracle.com
Fri Jun 15 20:43:55 UTC 2018


+1

A nice cleanup. Did you run any tiered tests just to double check that the use of lambdas causes no bootstrapping issues? (i suspect it probably does not).

Paul.

> On Jun 15, 2018, at 10:58 AM, Liam Miller-Cushon <cushon at google.com> wrote:
> 
> Hello,
> 
> This change is a follow-up to JDK-7183985 which replaces the interior of
> parseClassArray, parseEnumArray, and parseAnnotationArray with a shared
> method that is passed a lambda for the type-specific parsing logic.
> 
> bug: https://bugs.openjdk.java.net/browse/JDK-8198669
> webrev: http://cr.openjdk.java.net/~cushon/8198669/webrev.00/
> 
> Liam



More information about the core-libs-dev mailing list