RFR: 8336777: BufferedMethodBuilder not initialized with static flag
Adam Sotona
asotona at openjdk.org
Fri Jul 19 13:25:31 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.
Looks good to me.
-------------
Marked as reviewed by asotona (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/20244#pullrequestreview-2188235046
More information about the core-libs-dev
mailing list