mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8276186: Require getAvailableLocales() methods to include Locale.ROOT
Reviewed-by: prappo, smarks, iris
This commit is contained in:
parent
df02daa6f9
commit
0c409cac78
10 changed files with 108 additions and 22 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -115,7 +115,9 @@ public final class DecimalStyle {
|
|||
/**
|
||||
* Lists all the locales that are supported.
|
||||
* <p>
|
||||
* The locale 'en_US' will always be present.
|
||||
* At a minimum, the returned {@code Set} must contain a {@code Locale} instance equal to
|
||||
* {@link Locale#ROOT Locale.ROOT} and a {@code Locale} instance equal to
|
||||
* {@link Locale#US Locale.US}.
|
||||
*
|
||||
* @return a Set of Locales for which localization is supported
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue