On Mon, 2 Oct 2023 12:27:17 GMT, Daniel Jeliński <djelin...@openjdk.org> wrote:
>> I agree that it's ugly, but at the time I couldn't think of another way to >> solve the issue. By any chance, why does splitting it out into separate >> declaration assignment work? Last I remember, it still jumps over the local >> even when split up like this. > > Well, SO offers a speculative answer: > https://stackoverflow.com/a/14274292 > the modified form is not more safe, but the standard does not forbid it. I tested the new approach on gcc, it worked, so I'll commit it here ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/15996#discussion_r1343396615