Skip to content

8380322: [lworld] Identity records use preview feature#2302

Open
vicente-romero-oracle wants to merge 5 commits intoopenjdk:lworldfrom
vicente-romero-oracle:JDK-8380322
Open

8380322: [lworld] Identity records use preview feature#2302
vicente-romero-oracle wants to merge 5 commits intoopenjdk:lworldfrom
vicente-romero-oracle:JDK-8380322

Conversation

@vicente-romero-oracle
Copy link
Copy Markdown
Contributor

@vicente-romero-oracle vicente-romero-oracle commented Apr 6, 2026

Fields of identity records are generated with the ACC_STRICT_INIT flag but the class file corresponding to the record is not marked as using preview features. This bug is fixed in this PR,

TIA

[x] I confirm that I make this contribution in accordance with the OpenJDK Interim AI Policy.


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed (1 review required, with at least 1 Committer)

Error

 ⚠️ Pull request body is missing required line: - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).

Issue

  • JDK-8380322: [lworld] Identity records use preview feature (Bug - P2)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/valhalla.git pull/2302/head:pull/2302
$ git checkout pull/2302

Update a local copy of the PR:
$ git checkout pull/2302
$ git pull https://git.openjdk.org/valhalla.git pull/2302/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 2302

View PR using the GUI difftool:
$ git pr show -t 2302

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/valhalla/pull/2302.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Apr 6, 2026

👋 Welcome back vromero! A progress list of the required criteria for merging this PR into lworld will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link
Copy Markdown

openjdk Bot commented Apr 6, 2026

@vicente-romero-oracle This change is no longer ready for integration - check the PR body for details.

@openjdk openjdk Bot added the rfr Pull request is ready for review label Apr 6, 2026
@mlbridge
Copy link
Copy Markdown

mlbridge Bot commented Apr 6, 2026

Webrevs

@openjdk openjdk Bot added the ready Pull request is ready to be integrated label Apr 6, 2026
@liach
Copy link
Copy Markdown
Member

liach commented Apr 8, 2026

We might have to desugar the FieldKey record in StrictProcessor...

@liach
Copy link
Copy Markdown
Member

liach commented Apr 8, 2026

Anyways, this looks buggy that a driver's main class can be compiled to be preview but jtreg is not running that driver with preview permissiveness. We should report to jtreg.

@Arraying
Copy link
Copy Markdown
Member

Anyways, this looks buggy that a driver's main class can be compiled to be preview but jtreg is not running that driver with preview permissiveness. We should report to jtreg.

IIUC this should be fixed with CODETOOLS-7904149.

@openjdk openjdk Bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants