-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8334502: gtest/GTestWrapper.java fails on armhf due to LogDecorations.iso8601_utctime_test #19782
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
Conversation
|
👋 Welcome back vpetko! A progress list of the required criteria for merging this PR into |
|
@vpa1977 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 50 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. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@dholmes-ora, @shipilev) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
Webrevs
|
dholmes-ora
left a comment
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.
Looks good. Thanks
|
/integrate |
|
@vpa1977 hotspot changes require two reviewers before integration. Thanks |
|
/label remove sponsor |
|
@vpa1977
|
Hi, @dholmes-ora I apologise for the mistake - the PR header had only 1 reviewer. I have tried to remove sponsor label, but that is not a valid label. Could you please advice how to proceed? Best Regards, |
shipilev
left a comment
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.
I was initially concerned we are narrowing to int to please the format specifiers. Normally, I would have expected us to work out a format specifier based on time_t size, and put it in globalDefinitions.hpp. But this looks okay as the unblocking fix.
|
/sponsor |
|
Going to push as commit d41d2a7.
Your commit was automatically rebased without conflicts. |
My review is the second one, so we can proceed. Normally, you just wait for more reviewers, even if you have said |
Hmm, actually Would it be ok to raise a P4 enhancement and do cleanup in its scope? |
Those two variables, like many others in that code are very obviously just small integer values. I think
If you do that won't it just introduce different conversion issues later in the code. This whole code is really quite a mess with regards to types, but that is partly because the API and structures used are also a mess when it comes to types. |
We might get something like this 63005ea - removing both of static casts that I have introduced, and trading a static cast in Windows branch for a static cast in AIX one. |
|
Note that in general we do not use |
|
Sorry, I did not mean that a follow-up work would be needed. I agree the cast is fine. It would probably be a bit less confusing to me to cast right in |
Due to time_t transition time_t is now 64bit on Ubuntu. zone_hours and zone_min are printed using %02d specifier. This causes random value to be printed as the timezone offset.
Testing - armhf gtest passes on Ubuntu Oracular:
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/19782/head:pull/19782$ git checkout pull/19782Update a local copy of the PR:
$ git checkout pull/19782$ git pull https://git.openjdk.org/jdk.git pull/19782/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 19782View PR using the GUI difftool:
$ git pr show -t 19782Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/19782.diff
Webrev
Link to Webrev Comment