RFR: 8336777: BufferedMethodBuilder not initialized with static flag

Chen Liang liach at openjdk.org
Fri Jul 19 21:28:50 UTC 2024


On Thu, 18 Jul 2024 22:21:08 GMT, Chen Liang <liach at openjdk.org> 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 throwing of IAE is provisional; it is open to discussion later.

Thanks for the reviews!

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20244#issuecomment-2240168417


More information about the core-libs-dev mailing list