Skip to content

Commit 4772354

Browse files
committed
8291825: java/time/nontestng/java/time/zone/CustomZoneNameTest.java fails if defaultLocale and defaultFormatLocale are different
Reviewed-by: naoto
1 parent 1a6c83b commit 4772354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jdk/java/time/nontestng/java/time/zone/zoneProvider/custom/CustomTimeZoneNameProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public boolean isSupportedLocale(Locale locale) {
7373
@Override
7474
public Locale[] getAvailableLocales() {
7575
return new Locale[]{
76-
Locale.getDefault()
76+
Locale.getDefault(Locale.Category.FORMAT)
7777
};
7878
}
7979
}

0 commit comments

Comments
 (0)