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 1:

> 1: /*

Also, do we want this in an `spi` package similar to existing public SPI 
classes? Or do we not want to bother with that for a single class?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30979#discussion_r3163645625

Reply via email to