8302344: Compiler Implementation for Unnamed patterns and variables (Preview)

8307444: java.lang.AssertionError when using unnamed patterns
8307482: Compiler should accept var _ in nested patterns in switch case
8307007: Implementation for javax.lang.model for unnamed variables (Preview)
8308312: Compiler should fail when a local variable declaration does not include an Identifier and does not have an initializer
8308309: Compiler should accept mixed masked and unmasked variables in lambda parameters

Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: vromero, darcy
This commit is contained in:
Aggelos Biboudis 2023-05-22 08:52:36 +00:00 committed by Jan Lahoda
parent b588797900
commit 8aa50288a1
53 changed files with 1640 additions and 453 deletions

View file

@ -70,6 +70,8 @@ public @interface PreviewFeature {
FOREIGN,
@JEP(number=430, title="String Templates", status="First Preview")
STRING_TEMPLATES,
@JEP(number=443, title="Unnamed Patterns and Variables")
UNNAMED,
/**
* A key for testing.
*/