RFR: 8317332: Prepare security for permissive- [v3]

Julian Waters jwaters at openjdk.org
Wed Oct 4 04:10:25 UTC 2023


On Tue, 3 Oct 2023 14:13:14 GMT, Weijun Wang <weijun at 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



More information about the security-dev mailing list