Details
-
Bug
-
Resolution: Fixed
-
P3
-
8
-
b66
-
generic
-
generic
-
Verified
Description
Beginning from Java 8 b55, when there are mutiple provider-configuration files with same name, the sequence of loading the service provider is changed.
For exmaple,
pseudolocales1.jar and pseudolocales2.jar are all in the java extension directory.
pseudolocales1/META-INF/services/java.util.spi.CurrencyNameProvider points to CurrencyNameProviderImpl1
pseudolocales2/META-INF/services/java.util.spi.CurrencyNameProvider points to CurrencyNameProviderImpl2
Before 8 b55, for example, in 8 b54, JRE loads CurrencyNameProviderImpl1 first and then CurrencyNameProviderImpl2, but from 8 b55, CurrencyNameProviderImpl2 is loaded first.
For exmaple,
pseudolocales1.jar and pseudolocales2.jar are all in the java extension directory.
pseudolocales1/META-INF/services/java.util.spi.CurrencyNameProvider points to CurrencyNameProviderImpl1
pseudolocales2/META-INF/services/java.util.spi.CurrencyNameProvider points to CurrencyNameProviderImpl2
Before 8 b55, for example, in 8 b54, JRE loads CurrencyNameProviderImpl1 first and then CurrencyNameProviderImpl2, but from 8 b55, CurrencyNameProviderImpl2 is loaded first.
Attachments
Issue Links
- relates to
-
JDK-8000997 Multiple locale sensitive services cannot be loaded
- Resolved