RFR (JAXP) 8028822 : Error in the documentation for newFactory method of the javax.xml.stream factories
roger.riggs at oracle.com
Tue Nov 26 21:59:58 UTC 2013
I looked at that twice also. java.time had a similar situation.
To get to the TCCL you need to call ServiceLoader.load(type).
The FactoryFinder:348 findServiceProvider method should test if cl ==
null and call the original ServiceLoader function.
On 11/26/2013 4:37 PM, Alan Bateman wrote:
> On 26/11/2013 18:38, huizhe wang wrote:
>> Hi all,
>> Here's revised webrev, as Alan suggested, including the implementation.
> So is this handling the null case correctly? It is spec'ed to use the
> TCCL but it looks like it's going through to ServiceLoader.load where
> null means the system class loader. Maybe this needs to wait for tests
> as that it really the only way to check this.
More information about the core-libs-dev