On Mon, 3 Apr 2023 21:56:31 GMT, Justin Lu <j...@openjdk.org> wrote: > The GregorianCalendar constructors and Calendar.getInstance() methods that > take TimeZone or Locale throw a NullPointerException if any values are null. > > This PR updates the javadoc to make this apparent.
This pull request has now been integrated. Changeset: 42965d39 Author: Justin Lu <j...@openjdk.org> Committer: Naoto Sato <na...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/42965d390c2062c74e2fb9d8125a16513042e857 Stats: 6 lines in 2 files changed: 6 ins; 0 del; 0 mod 6218123: (cal) API: Spec for GregorianCalendar constructors and Calendar getInstance is inconsistent. Reviewed-by: naoto ------------- PR: https://git.openjdk.org/jdk/pull/13310