-
Notifications
You must be signed in to change notification settings - Fork 127
8368475: [lworld] Add preview classes to jimage at make time #1727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: lworld
Are you sure you want to change the base?
8368475: [lworld] Add preview classes to jimage at make time #1727
Conversation
|
👋 Welcome back david-beaumont! A progress list of the required criteria for merging this PR into |
|
@david-beaumont 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 4 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. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@RogerRiggs) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
Webrevs
|
|
How is this change tested? |
|
Please merge with lworld so all the related commits are in place. |
|
There should be a log message indicating that jimage is using preview classes. There is an existing message in arguments.cpp for patched value classes that could be revised for enabling preview classes from jimage. |
RogerRiggs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does the job, but its hard to confirm the results.
Copies valuetype classes for each module into corresponding "/META-INF/preview/..." sub-directories to be pulled into jimage files and processed by the new preview mode handling code.
There might be a better way to do this in terms of Makefile semantics, but this seems to work well enough and doesn't prevent the value-class JAR files being generated for patching (which is still how everyone will get value classes until the rest of the work is plumbed in).
To enable the new preview mode work, set the "DISABLE_PREVIEW_PATCHING" system property to "true".
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/valhalla.git pull/1727/head:pull/1727$ git checkout pull/1727Update a local copy of the PR:
$ git checkout pull/1727$ git pull https://git.openjdk.org/valhalla.git pull/1727/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1727View PR using the GUI difftool:
$ git pr show -t 1727Using diff file
Download this PR as a diff file:
https://git.openjdk.org/valhalla/pull/1727.diff
Using Webrev
Link to Webrev Comment