RFR: 8339710: Avoid initializing AccessFlag related classes in write-only cases

Claes Redestad redestad at openjdk.org
Sun Sep 8 16:48:36 UTC 2024


On Sun, 8 Sep 2024 13:17:24 GMT, Claes Redestad <redestad at openjdk.org> wrote:

> This PR reduces number of classes loaded on a minimal lambda bootstrapping test by 4 by avoiding the need to pull in some AccessFlag classes.

Added `DirectMethodBuilder::withFlags` too, for consistency.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20904#issuecomment-2336749641


More information about the core-libs-dev mailing list