RFR: javax.xml.datatype: Using ServiceLoader to load JAXP datatype factories (7169894: JAXP Plugability Layer: using service loader) (original) (raw)

Alan Bateman Alan.Bateman at oracle.com
Mon Dec 17 16:12:52 UTC 2012


On 17/12/2012 15:39, Daniel Fuchs wrote:

Hi,

As pointed out by Paul & Alan, there's no reason to force Class.forName to initialize the class when attempting to load it in FactoryFinder. FactoryFinder should behave like ServiceLoader in this respect. So here is an updated webrev for javax.xml.datatype. <http://cr.openjdk.java.net/~dfuchs/JDK-7169894/javax.xml.datatype/webrev.02>

I also reported the changes to javax.xml.parsers: <http://cr.openjdk.java.net/~dfuchs/JDK-7169894/javax.xml.parsers/webrev.06/>

-- daniel I've looked at both webrevs and this looks very good (thank you for being so careful).

-Alan.



More information about the core-libs-dev mailing list