createEpochMonths() used minYear in the invalid-month-length message. Use the loop variable year.
HijrahConfigTest copies an invalid custom config and checks the DateTimeException cause message names 1448. --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8392848: HijrahChronology.createEpochMonths reports minYear instead of the invalid year Changes: https://git.openjdk.org/jdk/pull/33015/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33015&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8392848 Stats: 66 lines in 4 files changed: 61 ins; 0 del; 5 mod Patch: https://git.openjdk.org/jdk/pull/33015.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33015/head:pull/33015 PR: https://git.openjdk.org/jdk/pull/33015
