Skip to content
Permalink
Browse files
8264061: LocalDateTimeStringConverterTest fails in Canada
Reviewed-by: kcr
  • Loading branch information
jgneff authored and kevinrushforth committed Mar 23, 2021
1 parent 73e70fe commit 3bbcf9779f08090be75413350c8b2ca31d4bef35
Showing with 1 addition and 4 deletions.
  1. +1 −4 modules/javafx.base/src/test/java/test/javafx/util/converter/LocalDateTimeStringConverterTest.java
@@ -57,13 +57,10 @@
private static final DateTimeFormatter aFormatter = DateTimeFormatter.ofPattern("dd MM yyyy HH mm ss");
private static final DateTimeFormatter aParser = DateTimeFormatter.ofPattern("yyyy MM dd hh mm ss a");

@BeforeClass
public static void initDefaultLocale() {
@Parameterized.Parameters public static Collection implementations() {
// Tests require that default locale is en_US
Locale.setDefault(Locale.US);
}

@Parameterized.Parameters public static Collection implementations() {
return Arrays.asList(new Object[][] {
{ new LocalDateTimeStringConverter(),
Locale.getDefault(Locale.Category.FORMAT), FormatStyle.SHORT, FormatStyle.SHORT,

1 comment on commit 3bbcf97

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 3bbcf97 Mar 23, 2021

Please sign in to comment.