-
Notifications
You must be signed in to change notification settings - Fork 236
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
8299616: [11u] Bootcycle build fails after JDK-8257679 backport #1639
8299616: [11u] Bootcycle build fails after JDK-8257679 backport #1639
Conversation
👋 Welcome back shade! A progress list of the required criteria for merging this PR into |
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.
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 fromJAVA
inspec.gmk.in
and only added toJAVA_CMD
inbootcycle-spec.gmk.in
so the second branch would always be true.- The block as a whole was removed as
JAVA_EXEC_POS
is 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-images
fails 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-images
make bootcycle-images
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev pull/1639/head:pull/1639
$ git checkout pull/1639
Update a local copy of the PR:
$ git checkout pull/1639
$ git pull https://git.openjdk.org/jdk11u-dev pull/1639/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1639
View PR using the GUI difftool:
$ git pr show -t 1639
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/1639.diff