Re: RFR: 8355335: Avoid pattern matching switches in core ClassFile API

2025-04-23 Thread Abdelhak Zaaim
On Tue, 22 Apr 2025 23:28:38 GMT, Chen Liang 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

Re: RFR: 8355335: Avoid pattern matching switches in core ClassFile API

2025-04-23 Thread Chen Liang
On Tue, 22 Apr 2025 23:28:38 GMT, Chen Liang 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

Re: RFR: 8355335: Avoid pattern matching switches in core ClassFile API

2025-04-23 Thread Adam Sotona
On Tue, 22 Apr 2025 23:28:38 GMT, Chen Liang 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

Re: RFR: 8355335: Avoid pattern matching switches in core ClassFile API

2025-04-22 Thread Chen Liang
On Tue, 22 Apr 2025 23:28:38 GMT, Chen Liang 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

RFR: 8355335: Avoid pattern matching switches in core ClassFile API

2025-04-22 Thread Chen Liang
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 BlockCodeBuild