[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Integrated: 8326948: Force English locale for timeout formatting
From:       Alexey Ivanov <aivanov () openjdk ! org>
Date:       2024-02-29 9:58:55
Message-ID: G67rLkzocl_ObOoAWt9yyJe-sI9bngqykPtbNFFn32k=.2f894b60-5885-46cc-b2fe-84004f9127fe () github ! com
[Download RAW message or body]

On Wed, 28 Feb 2024 12:20:04 GMT, Alexey Ivanov <aivanov@openjdk.org> wrote:

> If a test runs in non-English locale, the digits displayed in the timeout could be \
> locale-specific, which may be confusing. 
> For example, in the Arabic locale `-Duser.language=ar`, the timeout is displayed \
> like this: 
> Test timeout: ٠٠:٠٤:٥٨
> 
> The fix explicitly sets English locale for formatting, which ensures the timeout is \
> always displayed with the Western Arabic numerals, see [Numerals in most popular \
> systems](https://en.wikipedia.org/wiki/Numerical_digit#Numerals_in_most_popular_systems).
> 

This pull request has now been integrated.

Changeset: e772e781
Author:    Alexey Ivanov <aivanov@openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e772e7817981b7b5c01b95245cf2022372494619
                
Stats:     3 lines in 1 file changed: 2 ins; 0 del; 1 mod

8326948: Force English locale for timeout formatting

Reviewed-by: honkar, prr, gli

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic