Integrated: 8308727: Compiler should accept final unnamed variables in try-with-resources

Aggelos Biboudis abimpoudis at openjdk.org
Thu May 25 08:13:06 UTC 2023


On Wed, 24 May 2023 17:51:39 GMT, Aggelos Biboudis <abimpoudis at openjdk.org> wrote:

> This PR addresses the bug with `final` but also with annotations on local variables within try-with-resources.

This pull request has now been integrated.

Changeset: 4500bb7a
Author:    Aggelos Biboudis <abimpoudis at openjdk.org>
Committer: Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4500bb7a676b9208337590880cfde45f264e4baf
Stats:     11 lines in 2 files changed: 10 ins; 0 del; 1 mod

8308727: Compiler should accept final unnamed variables in try-with-resources

Reviewed-by: jlahoda

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

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


More information about the compiler-dev mailing list