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

Paul Sandoz paul.sandoz at oracle.com
Tue Dec 18 09:01:04 UTC 2012


On Dec 17, 2012, at 4:39 PM, Daniel Fuchs <daniel.fuchs at oracle.com> 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/>
> 

+2

Paul.


More information about the core-libs-dev mailing list