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

Aggelos Biboudis abimpoudis at openjdk.org
Mon May 22 08:56:29 UTC 2023


On Wed, 19 Apr 2023 09:47:39 GMT, Aggelos Biboudis <abimpoudis at openjdk.org> wrote:

> This PR implements [JEP 443](https://openjdk.org/jeps/443), the preview feature for Unnamed Patterns and Variables in Java.
> 
> Draft Spec: https://cr.openjdk.org/~abimpoudis/unnamed/latest/

This pull request has now been integrated.

Changeset: 8aa50288
Author:    Aggelos Biboudis <abimpoudis at openjdk.org>
Committer: Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8aa50288a1a6a853bf4d8d97b1849d5744ed7a32
Stats:     1765 lines in 53 files changed: 1313 ins; 153 del; 299 mod

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 at openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis at openjdk.org>
Reviewed-by: vromero, darcy

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

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


More information about the compiler-dev mailing list