[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-compiler-dev
Subject:    Re: RFR: 8324651: Compiler Implementation for Derived Record Creation (Preview) [v5]
From:       Jan Lahoda <jlahoda () openjdk ! org>
Date:       2024-03-28 14:08:44
Message-ID: peC776HZpjjZxwKkwoQ7_R-KtYhiNibGLwkf8VOXyEw=.e9d5f980-6fd8-4607-bdb6-2f3d0dbcf52e () github ! com
[Download RAW message or body]

> This is a patch for javac, that adds the Derived Record Creation expressions. The \
> current draft specification for the feature is: \
> https://cr.openjdk.org/~gbierman/jep468/jep468-20240326/specs/derived-record-creation-jls.html
>  
> The current CSR is here:
> https://bugs.openjdk.org/browse/JDK-8328637
> 
> The patch is mostly straightforward, with two notable changes:
> - there is a new `ElementKind.COMPONENT_LOCAL_VARIABLE`, as the specification \
> introduces this term, and it seems consistent with `ElementKind.BINDING_VARIABLE` \
>                 that was introduced some time ago.
> - there are a bit broader changes in `Flow`, to facilitate the introduction of \
> variables without an explicit declaration for definite assignment and effectively \
> final computation.

Jan Lahoda has updated the pull request incrementally with one additional commit \
since the last revision:

  Fixing tests.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18509/files
  - new: https://git.openjdk.org/jdk/pull/18509/files/7b706eeb..f89501ee

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18509&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18509&range=03-04

  Stats: 79 lines in 4 files changed: 0 ins; 46 del; 33 mod
  Patch: https://git.openjdk.org/jdk/pull/18509.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18509/head:pull/18509

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic