On Tue, 22 Apr 2025 23:28:38 GMT, Chen Liang <li...@openjdk.org> wrote:
> A few pattern matching switches exist in the core parts of ClassFile API > responsible for transformations and parsing. They are likely to be used in > early bootstrap, and pattern matching switches require bootstrap methods, > which depend on core ClassFile API. > > For example, currently BlockCodeBuilderImpl prevents BlockCodeBuilder from > being used in early bootstrap; luckily we are currently all using manual > labels, and as a result this does not surface in lambdas. This pull request has now been integrated. Changeset: ffe6a4f9 Author: Chen Liang <li...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/ffe6a4f9e1449ce9a78372f11bfc0ef6cd7d6842 Stats: 35 lines in 6 files changed: 4 ins; 7 del; 24 mod 8355335: Avoid pattern matching switches in core ClassFile API Reviewed-by: asotona ------------- PR: https://git.openjdk.org/jdk/pull/24807