On Fri, 1 Aug 2025 18:05:54 GMT, Chen Liang <li...@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.

I don't think your suggestion work when one block code builder ends immediately 
with another block code builder. The enclosing one may require the goto if the 
nested one breaks to its break label.

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

PR Comment: https://git.openjdk.org/jdk/pull/26602#issuecomment-3148782928

Reply via email to