On Mon, 9 Jun 2025 22:03:37 GMT, Johannes Graham <d...@openjdk.org> wrote:
>> The existing implementation does not throw >> `NumberFormatException`/`ArithmeticException`, but `ParseException` if >> parsing is failing. I would expect the same here. > > Sorry, I'm not seeing where the original could throw ParseException. Sorry if I was unclear. I mean the `parse()` in the NumberFormat do not throw NumberFormatException/ArithmeticException, but ParseException, so if this piece of code need to throw something, it should be `ParseException` ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25644#discussion_r2136578931