<i18n dev> RFR: 8314925: ChoiceFormat does not specify IllegalArgumentExceptions

Naoto Sato naoto at openjdk.org
Tue Aug 29 20:49:12 UTC 2023


On Tue, 29 Aug 2023 16:53:29 GMT, Justin Lu <jlu at openjdk.org> wrote:

> Please review this PR and [CSR](https://bugs.openjdk.org/browse/JDK-8315148) which is a conformance change to specify exceptions in java.text.ChoiceFormat.
> 
> Makes `IllegalArgumentException` apparent for `applyPattern` and `setChoices`, as well as for the associated constructors that call the methods.
> 
> This change also improves the error message for the `setChoices` IAE.

Marked as reviewed by naoto (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/15473#pullrequestreview-1601251583


More information about the i18n-dev mailing list