Re: RFR: 8336777: BufferedMethodBuilder not initialized with static flag

2024-07-19 Thread Chen Liang
On Thu, 18 Jul 2024 22:21:08 GMT, Chen Liang wrote: > `BufferedMethodBuilder` accepts a static flag and passes it to the > `CodeBuilder` it creates; yet it does not prevent static flag tampering like > `DirectMethodBuilder` does. This patch makes their behaviors consistent. > > Note that the t

Re: RFR: 8336777: BufferedMethodBuilder not initialized with static flag

2024-07-19 Thread Adam Sotona
On Thu, 18 Jul 2024 22:21:08 GMT, Chen Liang wrote: > `BufferedMethodBuilder` accepts a static flag and passes it to the > `CodeBuilder` it creates; yet it does not prevent static flag tampering like > `DirectMethodBuilder` does. This patch makes their behaviors consistent. > > Note that the t

RFR: 8336777: BufferedMethodBuilder not initialized with static flag

2024-07-18 Thread Chen Liang
`BufferedMethodBuilder` accepts a static flag and passes it to the `CodeBuilder` it creates; yet it does not prevent static flag tampering like `DirectMethodBuilder` does. This patch makes their behaviors consistent. Note that the throwing of IAE is provisional; it is open to discussion later.