On Thu, 22 Apr 2021 10:36:40 GMT, Ajit Ghaisas <[email protected]> wrote:

> This PR fixes controls unit test failures that are observed with German 
> locale.
> 
> Fix :
> Code added to use US locale while running SpinnerTest and DatePicker test & 
> restore locale to default after these tests are executed.
> 
> test.javafx.scene.control.ControlTest.testRT18097 fails for DatePicker 
> control. Fixing DatePickerTest fixes this. This reveals the fact that our 
> unit tests run in a single VM and any test that changes the Locale setting 
> should restore it to the default at the end.

This pull request has now been integrated.

Changeset: b50ce94c
Author:    Ajit Ghaisas <[email protected]>
URL:       https://git.openjdk.java.net/jfx/commit/b50ce94c
Stats:     29 lines in 2 files changed: 25 ins; 1 del; 3 mod

8264952: [TestBug] Controls unit tests - ControlTest and SpinnerTest fail for 
non US Locale

Reviewed-by: kcr

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

PR: https://git.openjdk.java.net/jfx/pull/476

Reply via email to