This is the proposed patch for Enhanced Local Variable Declarations (Preview).
- [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - Merge branch 'master' into JDK-8372170 - Adjust signature of com.sun.source.tree.EnhancedVariableDeclarationTree.getPattern - Remove redundant NPE from Symtab - Merge branch 'master' into JDK-8372170 - Adjust checkExhaustiveSwitchProperty - Adjust name of local variable in coerce - Homogenize translation for ELVD - Fix non-applicable ELVDS on JShell and error message - Address review - 8372170: Implementation for Enhanced Local Variable Declarations (Preview) Changes: https://git.openjdk.org/jdk/pull/30556/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30556&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8372170 Stats: 2948 lines in 62 files changed: 2810 ins; 13 del; 125 mod Patch: https://git.openjdk.org/jdk/pull/30556.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30556/head:pull/30556 PR: https://git.openjdk.org/jdk/pull/30556
