-
Notifications
You must be signed in to change notification settings - Fork 152
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
8280963: Incorrect PrintFlags formatting on Windows #45
8280963: Incorrect PrintFlags formatting on Windows #45
Conversation
👋 Welcome back akasko! A progress list of the required criteria for merging this PR into |
Webrevs
|
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.
This mostly matches the changes to this file in JDK-8042893, but it doesn't remove the pragma
Can we include that change as well to make sure the code is now compiling without warnings?
Also, the PR needs to be rebased anyway to fix the GHA run on Linux (bad dependency issue now fixed by JDK-8284772). The Mac failure is more complicated (see #26) but is at least compiling the code before failing. Despite the title, this changes code shared by all platforms.
Would it be better if I add a I understand that it is a part of the same original change, just the motivation behind the change is completely different from the format strings change that are included now. I am fine with doing it either way, just wanted to point out that the inclusion of pragma here may be confusing. |
5ef280c
to
a312b2c
Compare
Yes, that makes sense. We're already deviating from the original enhancement issue with this subset to fix a bug. Please file a bug and I'll approve this once the repository has transitioned to 8u352. |
I can approve this now once To clarify; I just meant the one |
Thanks for the review! I've added fix request label to the bug. |
Sorry for the delay, approved. |
Thanks for the approval! It is not clear whether macOS pre-submit check must pass for integrate command to work, will try it now. |
/integrate |
@akashche This pull request has not yet been marked as ready for integration. |
Apparently PR needs to be "ready" for integrate to work, any hints what can I do for it to have a "ready" mark? |
It needs an actual "Approve" via the |
Done. This would be simpler if the approval process was integrated with SKARA. |
@akashche 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 13 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. ➡️ To integrate this PR with the above commit message to the |
The MacOS failure is unrelated and is already fixed in jdk8u-dev. You can confirm this by merging with 8u-dev yourself, but it's not really necessary. |
Specifically, "c5f96be: 8286989: Build failure on macOS after 8281814" |
Thanks for the clarification! |
/integrate |
Going to push as commit 83e9095.
Your commit was automatically rebased without conflicts. |
A fix to 8u-only Windows-specific problem with -XX:+PrintFlags* output.
Problem description on Stack Overflow by Andrei Pangin: https://stackoverflow.com/a/63309395
The problem was fixed in jdk9 as part of JDK-8042893, but this jdk9 change doesn't look like a good candidate for the 8u backport according to 8u Best Practices. Still the problem manifests itself as a customer-visible bug on Windows because people do use -XX:+PrintFlagsFinal to find out the actual flags picked up by JVM and can be confused by unexpected zeros in the output. Proposed patch cherry-picks the minimal change from JDK-8042893 commit.
Mailing list review: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2022-February/014532.html
Testing:
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev pull/45/head:pull/45
$ git checkout pull/45
Update a local copy of the PR:
$ git checkout pull/45
$ git pull https://git.openjdk.org/jdk8u-dev pull/45/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 45
View PR using the GUI difftool:
$ git pr show -t 45
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/45.diff