RFR: 8329354: java/text/Format/MessageFormat/CompactSubFormats.java fails

Justin Lu jlu at openjdk.org
Sat Mar 30 22:03:31 UTC 2024


On Sat, 30 Mar 2024 02:26:32 GMT, Jie Fu <jiefu at openjdk.org> wrote:

> Hi all,
> 
> java/text/Format/MessageFormat/CompactSubFormats.java fails in our testing machines.
> I'm not an expert in this area and just guess it can be fixed like this.
> Please review it.
> 
> Thanks.
> Best regards,
> Jie

Hi Jie,

This is indeed the correct solution to ensure that the DecimalFormat, (specifically, the underlying DecimalFormatSymbols) has the same locale as the MessageFormat subformat.

Thank you for the fix, it LGTM

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

Marked as reviewed by jlu (Committer).

PR Review: https://git.openjdk.org/jdk/pull/18557#pullrequestreview-1970062699


More information about the core-libs-dev mailing list