RFR: 8366517: Refine null locale processing of ctor/factory methods in `Date/DecimalFormatSymbols` [v3]

Roger Riggs rriggs at openjdk.org
Thu Sep 4 22:15:07 UTC 2025


On Wed, 3 Sep 2025 17:06:32 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> Adding a `@throws` clause for NPE in `java.text.DateFormatSymbols(Locale)` constructor. The bug suggests it should  throw a `MissingResourceException`, but I don't think we can change this long standing behavior. Instead, explicitly specify the NPE in the javadoc.
>
> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Further requireNonNull()

LGTM

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

Marked as reviewed by rriggs (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27060#pullrequestreview-3187358527


More information about the core-libs-dev mailing list