Integrated: 8353713: Improve Currency.getInstance exception handling
Justin Lu
jlu at openjdk.org
Tue Apr 8 17:40:24 UTC 2025
On Fri, 4 Apr 2025 21:25:00 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.
This pull request has now been integrated.
Changeset: 5cac5796
Author: Justin Lu <jlu at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/5cac579619164b9a664327a4f71c4de7e7575276
Stats: 37 lines in 2 files changed: 12 ins; 0 del; 25 mod
8353713: Improve Currency.getInstance exception handling
Reviewed-by: naoto
-------------
PR: https://git.openjdk.org/jdk/pull/24459
More information about the core-libs-dev
mailing list