Skip to content

Commit 50c3433

Browse files
committed
8291825: java/time/nontestng/java/time/zone/CustomZoneNameTest.java fails if defaultLocale and defaultFormatLocale are different
Backport-of: 4772354f4caf5eb314eda81217e5bc48a62d485b
1 parent a3f2288 commit 50c3433

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)