Skip to content

Commit

Permalink
8291825: java/time/nontestng/java/time/zone/CustomZoneNameTest.java f…
Browse files Browse the repository at this point in the history
…ails if defaultLocale and defaultFormatLocale are different

Backport-of: 4772354f4caf5eb314eda81217e5bc48a62d485b
  • Loading branch information
GoeLin committed Feb 2, 2023
1 parent a3f2288 commit 50c3433
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -73,7 +73,7 @@ public boolean isSupportedLocale(Locale locale) {
@Override
public Locale[] getAvailableLocales() {
return new Locale[]{
Locale.getDefault()
Locale.getDefault(Locale.Category.FORMAT)
};
}
}

1 comment on commit 50c3433

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.