RFR: 8308727: Compiler should accept final unnamed variables in try-with-resources
Aggelos Biboudis
abimpoudis at openjdk.org
Wed May 24 17:58:02 UTC 2023
This PR addresses the bug with `final` but also with annotations on local variables within try-with-resources.
-------------
Commit messages:
- 8308727: Compiler should accept final unnamed variables in try-with-resources
Changes: https://git.openjdk.org/jdk/pull/14130/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14130&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8308727
Stats: 11 lines in 2 files changed: 10 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/14130.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14130/head:pull/14130
PR: https://git.openjdk.org/jdk/pull/14130
More information about the compiler-dev
mailing list