<i18n dev> [9]RFR: 8062588: Support java.util.spi.*, java.text.spi.*, java.awt.im.spi loaded from classpath

Alan Bateman Alan.Bateman at oracle.com
Tue Dec 16 15:54:30 UTC 2014


On 15/12/2014 22:15, Naoto Sato wrote:
> Hello,
>
> Please review the proposed changes for the following issue:
>
> https://bugs.openjdk.java.net/browse/JDK-8062588
>
> The proposed fix is located at:
>
> http://cr.openjdk.java.net/~naoto/8062588/webrev.00/
>
> The change is to load SPI implementations from application's class 
> path instead of the extension mechanism, which is removed with the JEP 
> 220.
ServiceLoader.load uses the TCCL. I suspect you are looking for 
ServiceLoader.load(c, ClassLoader.getSystemClassLoader()).

-Alan.


More information about the i18n-dev mailing list