On Wed, 17 Aug 2022 23:11:23 GMT, Joe Darcy <da...@openjdk.org> wrote:
>> The use of lambda's in the initialization of AccessFlag runs afoul of CDS in >> some cases due to occurring early in the platform's initialization. Instead >> of lambdas, using anonymous classes gets around the issue. >> >> Clean tier1 and tier 2 Mach 5 run with these changes. > > Joe Darcy has updated the pull request incrementally with one additional > commit since the last revision: > > Respond to review feedback. Stupid question: it seems none of these lambdas/anonymous classes capture any parameters, all are stateless, and several seems to be identical. Would it make the code cleaner to use static inner classes? ------------- PR: https://git.openjdk.org/jdk/pull/9911