On Tue, 28 Apr 2026 23:37:37 GMT, Naoto Sato <[email protected]> wrote:
> Enabling customization of localized format patterns for the `java.time` > date/time formatters through the locale-sensitive SPI. While existing SPIs > allow customization of textual elements, such as month-of-year names, > formatting patterns (e.g., "dd/MM/yyyy") cannot currently be customized for a > given locale. > > This enhancement is needed to support customers migrating from the > now-removed COMPAT locale resources to CLDR-based ones. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). src/java.base/share/classes/java/time/format/DateTimeFormatterPatternProvider.java line 74: > 72: * @throws NullPointerException if {@code calType} or {@code locale} > is > 73: * {@code null}. > 74: * @see Chronology#getCalendarType() I think this method should provide `@see` tags to a corresponding method in both `DateTimeFormatter` and `DateTimeFormatterBuilder`. The other method should as well (although it already does for (`DateTimeFormatterBuilder`). ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/30979#discussion_r3164364100
