RFR: 8295738: Automate javax/swing/JFileChooser/FileSizeCheck.java [v2]

Alexey Ivanov aivanov at openjdk.org
Fri Oct 21 11:34:05 UTC 2022


On Thu, 20 Oct 2022 23:34:42 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Alexey Ivanov has updated the pull request incrementally with four additional commits since the last revision:
>> 
>>  - Set the locale to US
>>  - Adjust wrapping for error message
>>  - Use local variable to store first error message
>>  - Shorter error message
>
> test/jdk/javax/swing/JFileChooser/FileSizeCheck.java line 58:
> 
>> 56: public class FileSizeCheck {
>> 57:     private enum FileSize {
>> 58:         F0(    0, "0.0 KB"),
> 
> The text probably depends from the Locale? Do we need to set it explicitly?

I does, indeed. I set the locale to `Locale.US`.

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

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



More information about the client-libs-dev mailing list