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.

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

Commit messages:
 - Adjust wording
 - Document exceptions

Changes: https://git.openjdk.org/jdk/pull/13310/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13310&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-6218123
  Stats: 7 lines in 2 files changed: 6 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/13310.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13310/head:pull/13310

PR: https://git.openjdk.org/jdk/pull/13310

Reply via email to