Integrated: 8361730: The CodeBuilder.trying(BlockCodeBuilder,CatchBuilder) method generates corrupted bytecode in certain cases

Chen Liang liach at openjdk.org
Thu Aug 14 20:30:15 UTC 2025


On Fri, 1 Aug 2025 18:05:54 GMT, Chen Liang <liach at openjdk.org> wrote:

> Explicitly document that BlockCodeBuilder expects control flow to continue after it merges back to the parent block, so failure to do that by the users can lead to malformed code. This is better than introducing complex and costly analysis.

This pull request has now been integrated.

Changeset: c5cbcac8
Author:    Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c5cbcac828e1c7aa845cf16e68f6306ae49e050c
Stats:     5 lines in 1 file changed: 5 ins; 0 del; 0 mod

8361730: The CodeBuilder.trying(BlockCodeBuilder,CatchBuilder) method generates corrupted bytecode in certain cases

Reviewed-by: asotona

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

PR: https://git.openjdk.org/jdk/pull/26602


More information about the core-libs-dev mailing list