[jdk25u] RFR: 8367901: Calendar.roll(hour, 24) returns wrong result

Roland Mesde duke at openjdk.org
Mon Nov 10 20:44:25 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). Patch is clean

-------------

Commit messages:
 - Backport ced3f13f4e036513444d1fea3958be11741c2b8e

Changes: https://git.openjdk.org/jdk25u/pull/369/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u&pr=369&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8367901
  Stats: 144 lines in 2 files changed: 141 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk25u/pull/369.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u.git pull/369/head:pull/369

PR: https://git.openjdk.org/jdk25u/pull/369


More information about the jdk-updates-dev mailing list