8303169: Remove Windows specific workaround from libdt#12744
8303169: Remove Windows specific workaround from libdt#12744TheShermanTanker wants to merge 3 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back jwaters! A progress list of the required criteria for merging this PR into |
|
@TheShermanTanker The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
|
@TheShermanTanker This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. 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 |
sspitsyn
left a comment
There was a problem hiding this comment.
Looks okay to me.
Thanks,
Serguei
|
Little bit of a quick note from me before integration, I found it strange that for other platforms no inttypes.h include was needed for PRId64 to work properly, but after more in depth checking to see whether the inttypes.h include should go elsewhere to match where the other platforms have it, apparently this is a Windows only library, making it all the more strange that a Windows conditional define was here at all in the first place. Just to be extra safe, is there confirmation that this will always be Windows only, and the the shared native code is somehow a mistake or leftover from long ago? |
|
@RealCLanger Sorry for the ping, just wanted to check since you're the original commit Author for the format string, is there someplace else where inttypes.h or stdint.h is included or should be included that I missed? |
Hah, that was a long time ago. 😄 I think this change is fine - and I'm not aware of other places. But that doesn't mean a lot. 😉 |
|
PS I guess you should update the copyright year before pushing. |
Ah right, thanks for the reminder
I see haha, I was just worried since that's what the ifdef implied. Strange that the check was a |
|
Ah I see, was the initial commit made with the assumption that inttypes.h was already included? It's just a final confirmation before integration |
Could be. |
|
/integrate |
|
Going to push as commit 2fe4e5f.
Your commit was automatically rebased without conflicts. |
|
@TheShermanTanker Pushed as commit 2fe4e5f. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
We no longer need to define PrId64 ourselves since the Visual C++ compiler supports inttypes.h on the only versions we support, so we can just replace it with an include to the standard header instead
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/12744/head:pull/12744$ git checkout pull/12744Update a local copy of the PR:
$ git checkout pull/12744$ git pull https://git.openjdk.org/jdk pull/12744/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 12744View PR using the GUI difftool:
$ git pr show -t 12744Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/12744.diff