On Tue, 10 Jun 2025 18:36:15 GMT, Naoto Sato <na...@openjdk.org> wrote:

> This regression was introduced by the removal of the COMPAT locale provider, 
> which partially broke support for the first year in the Japanese calendar. In 
> the Japanese calendar system, the first year of an era should be formatted 
> using the character "元" rather than the numeral "1". The issue arises from a 
> difference in how pattern character lengths are interpreted between CLDR and 
> SimpleDateFormat. The existing `JapaneseEraNameTest` has been updated to 
> cover this fix.

This pull request has now been integrated.

Changeset: 99829950
Author:    Naoto Sato <na...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/99829950f680936489048a1ad4ce12f166805e4d
Stats:     197 lines in 3 files changed: 120 ins; 66 del; 11 mod

8358819: The first year is not displayed correctly in Japanese Calendar

Reviewed-by: jlu, joehw, iris

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

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

Reply via email to