[jdk17u-dev] RFR: 8367901: Calendar.roll(hour, 24) returns wrong result
Roland Mesde
duke at openjdk.org
Wed Nov 12 15:58:00 UTC 2025
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.
-------------
Commit messages:
- Update RollHoursTest.java
- Update RollHoursTest.java
- Backport ced3f13f4e036513444d1fea3958be11741c2b8e
Changes: https://git.openjdk.org/jdk17u-dev/pull/4167/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=4167&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8367901
Stats: 147 lines in 2 files changed: 144 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/4167.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/4167/head:pull/4167
PR: https://git.openjdk.org/jdk17u-dev/pull/4167
More information about the jdk-updates-dev
mailing list