Integrated: 6218123: (cal) API: Spec for GregorianCalendar constructors and Calendar getInstance is inconsistent.
Justin Lu
jlu at openjdk.org
Mon Apr 10 21:50:19 UTC 2023
On Mon, 3 Apr 2023 21:56:31 GMT, Justin Lu <jlu at 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 <jlu at openjdk.org>
Committer: Naoto Sato <naoto at 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
More information about the core-libs-dev
mailing list