jdk/src/share/classes/java/util/spi/LocaleServiceProvider.java
changeset 18544 54c23f2cc3a5
parent 17944 bbd67fc49daa
child 18590 db282abf47f9
equal deleted inserted replaced
18543:f3305b091190 18544:54c23f2cc3a5
    92  * also be checked, the {@code isSupportedLocale} method must be overridden.)
    92  * also be checked, the {@code isSupportedLocale} method must be overridden.)
    93  * If neither the Java runtime environment itself nor an installed provider
    93  * If neither the Java runtime environment itself nor an installed provider
    94  * supports the requested locale, the methods go through a list of candidate
    94  * supports the requested locale, the methods go through a list of candidate
    95  * locales and repeat the availability check for each until a match is found.
    95  * locales and repeat the availability check for each until a match is found.
    96  * The algorithm used for creating a list of candidate locales is same as
    96  * The algorithm used for creating a list of candidate locales is same as
    97  * the one used by <code>ResourceBunlde</code> by default (see
    97  * the one used by <code>ResourceBundle</code> by default (see
    98  * {@link java.util.ResourceBundle.Control#getCandidateLocales getCandidateLocales}
    98  * {@link java.util.ResourceBundle.Control#getCandidateLocales getCandidateLocales}
    99  * for the details).  Even if a locale is resolved from the candidate list,
    99  * for the details).  Even if a locale is resolved from the candidate list,
   100  * methods that return requested objects or names are invoked with the original
   100  * methods that return requested objects or names are invoked with the original
   101  * requested locale including {@code Locale} extensions. The Java runtime
   101  * requested locale including {@code Locale} extensions. The Java runtime
   102  * environment must support the root locale for all locale sensitive services in
   102  * environment must support the root locale for all locale sensitive services in