On Mon, 1 Jun 2026 21:34:11 GMT, Naoto Sato <[email protected]> wrote:

> Updated `ListFormat` custom pattern parsing to avoid regex matching. The 
> implementation now locates placeholders and delimiters with literal string 
> operations.
> 
> Added coverage for invalid long custom patterns and for regex metacharacters 
> in custom patterns, which should be treated as literals.
> 
> ---------
> - [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: 4192f9bf
Author:    Naoto Sato <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/4192f9bf2edb14e6449e922a8bb27ec14c1003d4
Stats:     171 lines in 2 files changed: 114 ins; 8 del; 49 mod

8385736: Optimize ListFormat custom pattern parsing

Reviewed-by: jlu

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

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

Reply via email to