On Thu, 30 Apr 2026 19:44:30 GMT, Naoto Sato <[email protected]> wrote:

> Fixing the race condition during the initialization of the skeleton map. The 
> root cause was that the map could be accessed while it was still being 
> initialized, leading to an NPE. Although the NPE could be avoided by 
> returning a default value, the map initialization itself should be made 
> thread safe.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 2bef1d34
Author:    Naoto Sato <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/2bef1d34f066a40c5eb8f147de48b5ea1cbf4a29
Stats:     125 lines in 2 files changed: 97 ins; 7 del; 21 mod

8383525: DateTimeFormatterBuilder.getLocalizedDateTimePattern() concurrency 
issue

Reviewed-by: jlu

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

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

Reply via email to