- Loading...
...
OpenJDK 11u uses SKARA (Git) for backporting fixes from later JDK releases since June 2021. The old Mercurial-based workflow is no longer described. Please reach out to the JDK Updates mailing list in case you need help with that.
To prepare for contributing to one of the repositories (<your>/jdk11u-dev, openjdk-bots/jdk17u-dev, <your>/jdk17u etc), enable Pre-submit testing for each of the github repositories!
Contribution recipe:
/backport jdk11u-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"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.It is helpful to state in the PR description what changes were needed and why: the difference against original patch, motivations for doing things differently, etc.. The description is addressed to the reviewers of the change 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 |
jdk11u-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, which would manifest as jdk11u-fix-yes label on the issue. If the maintainers think the change is not good for an update they will add a jdk11u-fix-no label.
| Code Block | ||||
|---|---|---|---|---|
| ||||
Fix Request 11u 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 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. |
...