8291825: java/time/nontestng/java/time/zone/CustomZoneNameTest.java fails if defaultLocale and defaultFormatLocale are different
Reviewed-by: naoto
This commit is contained in:
parent
1a6c83b771
commit
4772354f4c
@ -73,7 +73,7 @@ public class CustomTimeZoneNameProvider extends TimeZoneNameProvider {
|
||||
@Override
|
||||
public Locale[] getAvailableLocales() {
|
||||
return new Locale[]{
|
||||
Locale.getDefault()
|
||||
Locale.getDefault(Locale.Category.FORMAT)
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user