On Tue, 3 Oct 2023 14:13:14 GMT, Weijun Wang <wei...@openjdk.org> wrote:
> I'm OK with the fix. So separating the declaration and the assignment > effectively place all the declarations at the beginning of the block and give > them default values? It doesn't place them at the start of the block, the difference is goto is allowed to jump over uninitialized locals (declaration without assignment) but not over explicitly initialized ones ------------- PR Comment: https://git.openjdk.org/jdk/pull/15996#issuecomment-1746100931