+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 <cus...@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