Re: RFR: 8177418: TimeZone.getTimeZone(String id) throws NullPointerException when id is null

2023-01-09 Thread Naoto Sato
On Fri, 6 Jan 2023 22:38:13 GMT, Justin Lu wrote: > When ID is null, TimeZone.getTimeZone(String ID) throws a > NullPointerException. > > For example, > > > String someID = null; > TimeZone tz1 = TimeZone.getTimeZone(someID); > ``` > > throws a `NullPointerException` > > This change updat

Re: RFR: 8177418: TimeZone.getTimeZone(String id) throws NullPointerException when id is null

2023-01-07 Thread Lance Andersen
On Fri, 6 Jan 2023 22:38:13 GMT, Justin Lu wrote: > When ID is null, TimeZone.getTimeZone(String ID) throws a > NullPointerException. > > For example, > > > String someID = null; > TimeZone tz1 = TimeZone.getTimeZone(someID); > ``` > > throws a `NullPointerException` > > This change updat

RFR: 8177418: TimeZone.getTimeZone(String id) throws NullPointerException when id is null

2023-01-06 Thread Justin Lu
When ID is null, TimeZone.getTimeZone(String ID) throws a NullPointerException. For example, String someID = null; TimeZone tz1 = TimeZone.getTimeZone(someID); ``` throws a `NullPointerException` This change updates the documentation to make this apparent. - Commit messages: -