<i18n dev> RFR: 8353713: Improve Currency.getInstance exception handling [v2]

Naoto Sato naoto at openjdk.org
Mon Apr 7 16:30:49 UTC 2025


On Fri, 4 Apr 2025 23:03:23 GMT, Justin Lu <jlu at openjdk.org> wrote:

>> Please review this PR which improves some Currency `IllegalArgumentException`s by including the input in the message. This could be a currency code, country code, or locale. This change also includes tests to check the messages for an invalid country via the region override as well as an invalid country code within a 3 length currency code.
>
> Justin Lu has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Naoto's review -> use str literal since not param test

Marked as reviewed by naoto (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/24459#pullrequestreview-2747430868


More information about the i18n-dev mailing list