RFR: 8302344: Compiler Implementation for Unnamed patterns and variables (Preview) [v31]

Aggelos Biboudis abimpoudis at openjdk.org
Mon May 22 07:12:44 UTC 2023


> 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/

Aggelos Biboudis has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 102 commits:

 - Merging master into unnamed
 - Merge branch 'JDK-8300543' into unnamed
 - Removing obsolette test, as suggested.
 - Merge branch 'JDK-8300543' into unnamed
   
   # Conflicts:
   #	src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
 - Disallowing annotations on record patterns.
 - Reduce the error message
 - Improve error reporting
 - Address review around `LambdaClassifier`
 - Simplify `LambdaClassifier`
   
   Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore at oracle.com>
 - Fix compiler bugs
   
   - Fix skipped errors when using unnamed locals without initializer
   - Fix lambdas with mix unnamed and named parameters
 - ... and 92 more: https://git.openjdk.org/jdk/compare/eaa80ad0...56686142

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

Changes: https://git.openjdk.org/jdk/pull/13528/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13528&range=30
  Stats: 1765 lines in 53 files changed: 1313 ins; 153 del; 299 mod
  Patch: https://git.openjdk.org/jdk/pull/13528.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13528/head:pull/13528

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


More information about the kulla-dev mailing list