- Loading...
...
/backport jdk11u-dev" or "/backport jdk17u-dev"
git checkout -b my-backport-branch master
""git backport --from https://github.com/openjdk/jdk <commit-sha>"
. See the SKARA Wiki for more info.
git checkout -b my-backport-branch master
""git fetch --no-tags https://github.com/openjdk/jdk <commit-sha>"
git cherry-pick --no-commit
<commit-sha
>"git commit -a -m "Backport <commit sha>
""make run-test TEST=tier1"
to run. You should test both debug- and release builds. Don't just test one of them!"make run-test TEST=tier2"
to run"make run-test TEST=<path-to-tests>"
to run specific testsgit pr create --publish
". If it is a backport, make sure the title of the PR is "Backport <SHA hash of original commit>
" to have the bots correctly recognize your change as a backport.clean
by the bots), get the change reviewed by some jdk-updates reviewer/label
command.In case of a backport, state in the PR description what changes were needed and why: the difference against the original patch, motivations for doing things differently, etc... The description is addressed to the reviewers who assess whether the change is correct for the update release.
Code Block | ||||
---|---|---|---|---|
| ||||
Hi, This is a backport of JDK-8888888: My Hovercraft Is Full Of Eels Original patch does not apply cleanly to 11u, because eels are all different sizes and shapes. Notably, I had to change the com/antioch/holy/Grenade.cpp to avoid API that only exists in 12+. Testing: x86_64 build, affected tests, tier1 Thanks, -Monty |
It is now possible to request maintainer approval directly from the pull request (and without JBS access) with the help of the /approval
pull request command: "/approval request My reason
". Read the pull request commands documentation for the full description of the command. You can skip step II. and go right to step iii. if this command succeeds.
jdk11u-fix-request or the
jdk17u-fix-request
label on the JBS issue. Now the JBS issue will appear in the filters used by the maintainers. The maintainers might remove the label if the issue is not ready to be decided upon. Add the label again if all preconditions are fulfilled.Wait for maintainer approval or rejection, which will manifest as either jdkXXu-fix-yes
or
jdkXXu-fix-no
label on the issue.
Code Block | ||||
---|---|---|---|---|
| ||||
Fix Request 11u|17u Backporting this patch eliminates the critical eel overflow. The risk is medium. It changes the critical component xyz, where little changes sometimes have unexpected effects. But this only touches abc and not the primary functionality of xyz. Fixing the issue overweights the risk. Patch does not apply cleanly to 11u and requires adjustments. Backport requires JDK-8423421 and JDK-8771177 to be applied first. Included test passes. Ran tier1 and tier2 and a big application to rule out secondary effects. |
Code Block | ||||
---|---|---|---|---|
| ||||
Fix Request 11u|17u Backporting this patch eliminates the eel overflow. Low risk as this only touches tests. Patch applies cleanly to 11u. Backport requires follow up issue JDK-8282288. New test fails without the product patch, and passes with it. Tier1 and tier2 tests pass with the patch and 8282288. |
In case of a larger change or backport, you might not want to invest the work for steps 1-5. and only then find out that the change is not accepted. In this case, you can add the "Fix Request" comment and label in advance or address the maintainers for advice in other ways.
...