RFR: javax.xml.validation: Using ServiceLoader to load JAXP schema factories (7169894: JAXP Plugability Layer: using service loader)
Daniel Fuchs
daniel.fuchs at oracle.com
Fri Jan 11 19:14:15 UTC 2013
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.
Best regards,
-- daniel
More information about the core-libs-dev
mailing list