Re: RFR: JDK-8316629: j.text.DateFormatSymbols setZoneStrings() exception is unhelpful

2023-09-20 Thread Naoto Sato
On Wed, 20 Sep 2023 22:10:16 GMT, Justin Lu 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 _IllegalArgume

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

2023-09-20 Thread Justin Lu
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 w