Re: RFR: 8339368: Switch targets are not inflated in CodeModel if no StackMap

2024-09-02 Thread Chen Liang
On Mon, 2 Sep 2024 10:03:59 GMT, Adam Sotona wrote: > ClassFile API use an alternate labels inflation method for class versions < > 50 (where StackMapTable attribute is optional). > The alternate method missed label inflation of lookup switch and table switch > instructions. > This patch fixes

RFR: 8339368: Switch targets are not inflated in CodeModel if no StackMap

2024-09-02 Thread Adam Sotona
ClassFile API use an alternate labels inflation method for class versions < 50 (where StackMapTable attribute is optional). The alternate method missed label inflation of lookup switch and table switch instructions. This patch fixes the label inflation method for for class versions < 50 and adds