On Tue, 29 Sep 2026 21:33:58 GMT, sbracely <[email protected]> wrote: >> withVariant() used getDayOfYear() as the month-length bound when clamping >> the day-of-month to the target variant. >> >> Use getMonthLength(), matching resolvePreviousValid. >> >> getMonthLength() now calls checkCalendarInit(). >> >> HijrahConfigTest copies a custom variant whose year 1300 month 1 has 29 days >> and checks that day 30 clamps to 29. >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > sbracely has updated the pull request incrementally with one additional > commit since the last revision: > > add clamp comment. udpate bug header
@sbracely Your change (at version 708f450cb55513b627e74b401d53395db298d4ae) is now ready to be sponsored by a Committer. ------------- PR Comment: https://git.openjdk.org/jdk/pull/33079#issuecomment-5949323153
