RFR: 6218123: (cal) API: Spec for GregorianCalendar constructors and Calendar getInstance is inconsistent.

Naoto Sato naoto at openjdk.org
Fri Apr 7 20:27:43 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.

Marked as reviewed by naoto (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/13310#pullrequestreview-1376554740


More information about the core-libs-dev mailing list