On Wed, 2 Apr 2025 10:03:17 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:

>> They are both NumberFormatException that is immediately handled by an 
>> enclosing catch block. This change should only affect the exception message 
>> for inputs fragments like %-F.
>
> Right. And `NumberFormatException` is a subclass of 
> `IllegalArgumentException` so that would remain compatible even if it were 
> not caught and replaced by plain IAE.

I pointed it out to emphasize that exceptions and exception messages should be 
considered and reviewed when making a change.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24314#discussion_r2025073332

Reply via email to