jdk/src/java.base/share/classes/sun/util/locale/provider/SPILocaleProviderAdapter.java
equal
deleted
inserted
replaced
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 "$" + |