Integrated: 8366517: Refine null locale processing of ctor/factory methods in `Date/DecimalFormatSymbols`
Naoto Sato
naoto at openjdk.org
Fri Sep 5 20:23:14 UTC 2025
On Tue, 2 Sep 2025 19:29:37 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.
This pull request has now been integrated.
Changeset: 3824c7cd
Author: Naoto Sato <naoto at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/3824c7cd06645b1dab5322015e8e6cf604afa754
Stats: 25 lines in 4 files changed: 20 ins; 0 del; 5 mod
8366517: Refine null locale processing of ctor/factory methods in `Date/DecimalFormatSymbols`
Reviewed-by: jlu, rriggs
-------------
PR: https://git.openjdk.org/jdk/pull/27060
More information about the core-libs-dev
mailing list