<i18n dev> Integrated: JDK-8316629: j.text.DateFormatSymbols setZoneStrings() exception is unhelpful

Justin Lu jlu at openjdk.org
Thu Sep 21 21:34:22 UTC 2023


On Wed, 20 Sep 2023 22:10:16 GMT, Justin Lu <jlu at openjdk.org> wrote:

> Please review this PR, which updates the exception message for java.text.DateFormatSymbols.setZoneStrings
> 
> `setZoneStrings()` takes a multi dimensional array as input. If any row does not have a length of at least 5, an _IllegalArgumentException_ is thrown. The exception should indicate why it was thrown.

This pull request has now been integrated.

Changeset: ef49e6c0
Author:    Justin Lu <jlu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ef49e6c0d7e4e3a2d7d3d8dcb1edf195b23ce12c
Stats:     2 lines in 1 file changed: 1 ins; 0 del; 1 mod

8316629: j.text.DateFormatSymbols setZoneStrings() exception is unhelpful

Reviewed-by: naoto

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

PR: https://git.openjdk.org/jdk/pull/15849


More information about the i18n-dev mailing list