8376033: [lworld] Remove auto early construction from strict fields#1952
8376033: [lworld] Remove auto early construction from strict fields#1952liach wants to merge 5 commits intoopenjdk:lworldfrom
Conversation
|
👋 Welcome back liach! A progress list of the required criteria for merging this PR into |
|
@liach This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 6 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
Webrevs
|
|
Oh, I was thinking the bulk adjustment to test constructors would come later, but this works too. From a high level point of view, doesn't look as bad as I thought it would be. :-) |
|
If we defer constructor adjustment to after |
|
Thanks for the reviews! /integrate |
|
Going to push as commit c259bd4.
Your commit was automatically rebased without conflicts. |
This is the 1st PR in the strict removal series. See #1951 for 2nd PR.
Remove the translation strategy change of javac from
@Strict, and fix all resulting errors (which appear as verification error for class files).This is a prerequisite for simplifying
@Strict @NullRestrictedto@NullRestrictedlater.This is done by discovering
@Strictfields that are:And use IDE refactor to move their initializer to the constructor, and add a
super()call in the end of the constructor.Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/valhalla.git pull/1952/head:pull/1952$ git checkout pull/1952Update a local copy of the PR:
$ git checkout pull/1952$ git pull https://git.openjdk.org/valhalla.git pull/1952/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1952View PR using the GUI difftool:
$ git pr show -t 1952Using diff file
Download this PR as a diff file:
https://git.openjdk.org/valhalla/pull/1952.diff
Using Webrev
Link to Webrev Comment