Integrated: 8314925: ChoiceFormat does not specify IllegalArgumentExceptions
    Justin Lu 
    jlu at openjdk.org
       
    Thu Aug 31 23:05:48 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.
This pull request has now been integrated.
Changeset: 7754ac05
Author:    Justin Lu <jlu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7754ac05062c698b8601048ae447849d982c8dbe
Stats:     9 lines in 1 file changed: 8 ins; 0 del; 1 mod
8314925: ChoiceFormat does not specify IllegalArgumentExceptions
Reviewed-by: naoto
-------------
PR: https://git.openjdk.org/jdk/pull/15473
    
    
More information about the core-libs-dev
mailing list