8316974: ListFormat creation is unsuccessful for some of the supported Locales

Reviewed-by: joehw, rriggs
This commit is contained in:
Naoto Sato 2023-09-28 16:04:46 +00:00
parent 29348b3cf6
commit 3481a48571
3 changed files with 53 additions and 6 deletions

View file

@ -513,7 +513,7 @@ public final class ListFormat extends Format {
public String toString() {
return
"""
ListFormat [locale: "%s", start: "%s", middle: "%s", end: "%s", two: "%s", three: "%s"]
ListFormat [locale: "%s", start: "%s", middle: "%s", end: "%s", two: "%s", three: "%s"]
""".formatted(locale.getDisplayName(), patterns[START], patterns[MIDDLE], patterns[END], patterns[TWO], patterns[THREE]);
}