8299616: [11u] Bootcycle build fails after JDK-8257679 backport#1639
8299616: [11u] Bootcycle build fails after JDK-8257679 backport#1639shipilev wants to merge 2 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back shade! A progress list of the required criteria for merging this PR into |
There was a problem hiding this comment.
Thanks for tracking this down so quickly. After you identified the problematic patches, I came to the same conclusion that this is down to JAVA_EXEC_POS still being used in bootcycle-spec.gmk.in, but now undefined.
I think the reason for the change was two-fold:
$(FIXPATH)was removed fromJAVAinspec.gmk.inand only added toJAVA_CMDinbootcycle-spec.gmk.inso the second branch would always be true.- The block as a whole was removed as
JAVA_EXEC_POSis unused after JDK-8244036 (not backported to 11u)
The safest option is to restore what we had before, as your patch does, but it may be that JAVA_EXEC_POS can now always be 1 (or just removed and a hardcoded 1 used in bootcycle-spec.gmk.in).
I'm happy with this as the lowest risk fix, assuming Windows builds fine.
Webrevs
|
|
@shipilev This change now passes all automated pre-integration checks. 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 no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
|
Ah, yes, JDK-8244036, is not in jdk11u, so removing this block was wrong. Thanks for finding & fixing. Please integrate this and I'll cherry-pick it into the bundle for 11.0.18, too. |
True. But, I could not convince myself there is a guarantee for I did massage the comments a bit, so that they would match the original code shape. |
|
Windows and Linux bootcycle builds are fine. GHAs are clean. Push approval is there. I am integrating. /integrate |
|
Going to push as commit 6073296. |
Yes, that was my thinking too. Better safe than sorry. |
Currently, JDK 11u
make bootcycle-imagesfails with:The apparent reason is JDK-8257679 that did the following change:
40f4fc2#diff-935527b393cb4625a8874febf5fe39d43479a2228ef437f4e104ba3001e1e30fL31-L40
Note that the left-over hunk uses
JAVA_EXEC_POS, which is defined in the hunk that was removed. This PR reinstantiates that hunk.Additional testing:
make bootcycle-imagesmake bootcycle-imagesProgress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev pull/1639/head:pull/1639$ git checkout pull/1639Update a local copy of the PR:
$ git checkout pull/1639$ git pull https://git.openjdk.org/jdk11u-dev pull/1639/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1639View PR using the GUI difftool:
$ git pr show -t 1639Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/1639.diff