jdk/src/java.base/share/classes/sun/util/locale/provider/SPILocaleProviderAdapter.java
changeset 28093 270b6925cbc8
parent 25859 3317bb8137f4
child 33310 2701a9854bb5
equal deleted inserted replaced
28092:a67de45e0b25 28093:270b6925cbc8
    75                 @Override
    75                 @Override
    76                 @SuppressWarnings("unchecked")
    76                 @SuppressWarnings("unchecked")
    77                 public P run() {
    77                 public P run() {
    78                     P delegate = null;
    78                     P delegate = null;
    79 
    79 
    80                     for (LocaleServiceProvider provider : ServiceLoader.loadInstalled(c)) {
    80                     for (LocaleServiceProvider provider :
       
    81                              ServiceLoader.load(c, ClassLoader.getSystemClassLoader())) {
    81                         if (delegate == null) {
    82                         if (delegate == null) {
    82                             try {
    83                             try {
    83                                 delegate =
    84                                 delegate =
    84                                     (P) Class.forName(SPILocaleProviderAdapter.class.getCanonicalName() +
    85                                     (P) Class.forName(SPILocaleProviderAdapter.class.getCanonicalName() +
    85                                               "$" +
    86                                               "$" +