-
Notifications
You must be signed in to change notification settings - Fork 232
8367901: Calendar.roll(hour, 24) returns wrong result #4167
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
base: master
Are you sure you want to change the base?
Conversation
|
👋 Welcome back rm-gh-8! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
This backport pull request has now been updated with issue from the original commit. |
Modify for JDK 17
Fix formatting
|
/approval request for backport of JDK-8367901: Calendar.roll(hour, 24) returns wrong result Updated the new test in the backport to be compatible with JDK 17. Ran the new and related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64: (All Passed) - make test TEST=test/jdk/java/util/Calendar Results are attached. |
Backporting JDK-8367901: Calendar.roll(hour, 24) returns wrong result. Fixes the roll implementation and adds a new test. Ran GHA Sanity Checks (passed) and new test (passed). The merge conflict was just the copyright header which was updated to the newer one. The new test needed to be updated for compatibility with the older JDK.
Key changes for the new test:
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/4167/head:pull/4167$ git checkout pull/4167Update a local copy of the PR:
$ git checkout pull/4167$ git pull https://git.openjdk.org/jdk17u-dev.git pull/4167/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 4167View PR using the GUI difftool:
$ git pr show -t 4167Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/4167.diff
Using Webrev
Link to Webrev Comment