-
Notifications
You must be signed in to change notification settings - Fork 223
8310265: (process) jspawnhelper should not use argv[0] #1922
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
Conversation
👋 Welcome back luhenry! A progress list of the required criteria for merging this PR into |
This backport pull request has now been updated with issue from the original commit. |
/approval request That fix is required for Java to launch new processes when running inside QEMU user space emulation. It is a requirement for some platforms (like riscv or s390x) as hardware or VMs are not largely available, and QEMU is the only available solutions on many CIs. The approach has been in JDK 21 and later for some time, and it's been validated to work. |
Thanks for the useful comment. |
@tstuefe looks good to you? |
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.
All good.
/approval request |
/approval request That fix is required for Java to launch new processes when running inside QEMU user space emulation. It is a requirement for some platforms (like riscv or s390x) as hardware or VMs are not largely available, and QEMU is the only available solutions on many CIs. The approach has been in JDK 21 and later for some time, and it's been validated to work. |
@luhenry 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 15 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 (@tstuefe) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
/integrate |
/backport jdk11u-dev |
@luhenry Backport for repo |
/sponsor |
Going to push as commit cd6cb73.
Your commit was automatically rebased without conflicts. |
Creating backport for repo openjdk/jdk11u-dev on branch master /backport openjdk/jdk11u-dev master |
@openjdk[bot] @luhenry the backport was successfully created on the branch luhenry-backport-cd6cb730 in my personal fork of openjdk/jdk11u-dev. To create a pull request with this backport targeting openjdk/jdk11u-dev:master, just click the following link: The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:
If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk11u-dev:
|
That patch makes sure that launching processes from Java works when running using QEMU user-space emulation. See
https://mail.openjdk.org/pipermail/core-libs-dev/2023-June/107738.html for details of the bug.
The backport doesn't apply cleanly.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/1922/head:pull/1922
$ git checkout pull/1922
Update a local copy of the PR:
$ git checkout pull/1922
$ git pull https://git.openjdk.org/jdk17u-dev.git pull/1922/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1922
View PR using the GUI difftool:
$ git pr show -t 1922
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/1922.diff
Webrev
Link to Webrev Comment