RFR: javax.xml.validation: Using ServiceLoader to load JAXP schema factories (7169894: JAXP Plugability Layer: using service loader)

Joe Wang huizhe.wang at oracle.com
Fri Jan 11 19:41:11 UTC 2013

On 1/11/2013 11:14 AM, Daniel Fuchs wrote:
> On 1/11/13 8:05 PM, Joe Wang wrote:
>> I don't have any data on how much the service mechanism may be used,
>> Xerces would surely be the one most frequently used. I'm more concerned
>> with the spec change that would require TCK change (the addition of
>> SchemaFactoryConfigurationError related tests).
> Although it seems cleaner to use a SchemaFactoryConfigurationError,
> we could wrap the ServiceConfigurationError in
> an IllegalArgumentException - which is what would have eventually
> been thrown in the old code.
> If that seems like a safer strategy I could update the changes in
> this sense.

I agree. It's safer in that we could move forward with the change.  FF 
for JDK8 is 1/23.


> Best regards,
> -- daniel

More information about the core-libs-dev mailing list