RFR: 8355335: Avoid pattern matching switches in core ClassFile API
Abdelhak Zaaim
duke at openjdk.org
Wed Apr 23 21:17:51 UTC 2025
On Tue, 22 Apr 2025 23:28:38 GMT, Chen Liang <liach at 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.
Marked as reviewed by abdelhak-zaaim at github.com (no known OpenJDK username).
-------------
PR Review: https://git.openjdk.org/jdk/pull/24807#pullrequestreview-2788699872
More information about the core-libs-dev
mailing list