RFR: 8367619: String.format in outOfRangeException uses wrong format specifier for String argument

Chen Liang liach at openjdk.org
Mon Sep 15 14:24:17 UTC 2025


On Mon, 15 Sep 2025 05:37:58 GMT, Guanqiang Han <ghan at openjdk.org> wrote:

> trivial fix

Marked as reviewed by liach (Reviewer).

Looks like a typo I made. Interesting that the unit test passed because this method threw `IllegalFormatConversionException` which is also a subtype of `IllegalArgumentException` 😓

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

PR Review: https://git.openjdk.org/jdk/pull/27280#pullrequestreview-3224879479
PR Comment: https://git.openjdk.org/jdk/pull/27280#issuecomment-3292432759


More information about the core-libs-dev mailing list