8032392: Spec: javax.xml.stream.XMLEventFactory/XMLOutputFactory/XMLInputFactory.newFactory(String, ClassLoader) referring to ServiceLoader.load(Class, ClassLoader)
authorjoehw
Fri, 24 Jan 2014 14:17:33 -0800
changeset 22673 382d136fbba2
parent 22418 1ee8fd0184d1
child 22674 bbf861d09bde
8032392: Spec: javax.xml.stream.XMLEventFactory/XMLOutputFactory/XMLInputFactory.newFactory(String, ClassLoader) referring to ServiceLoader.load(Class, ClassLoader) Reviewed-by: lancea, dfuchs
jaxp/src/javax/xml/stream/XMLEventFactory.java
jaxp/src/javax/xml/stream/XMLInputFactory.java
jaxp/src/javax/xml/stream/XMLOutputFactory.java
--- a/jaxp/src/javax/xml/stream/XMLEventFactory.java	Mon Jan 20 19:53:04 2014 +0000
+++ b/jaxp/src/javax/xml/stream/XMLEventFactory.java	Fri Jan 24 14:17:33 2014 -0800
@@ -157,8 +157,9 @@
    * <li>
    *   If {@code factoryId} is "javax.xml.stream.XMLEventFactory",
    *   use the service-provider loading facilities, defined by the
-   *   {@link java.util.ServiceLoader} class, to attempt to locate and load an
-   *   implementation of the service using the specified {@code ClassLoader}.
+   *   {@link java.util.ServiceLoader} class, to attempt to {@linkplain
+   *   java.util.ServiceLoader#load(java.lang.Class, java.lang.ClassLoader) locate and load}
+   *   an implementation of the service using the specified {@code ClassLoader}.
    *   If {@code classLoader} is null, the {@linkplain
    *   java.util.ServiceLoader#load(java.lang.Class) default loading mechanism} will apply:
    *   That is, the service-provider loading facility will use the {@linkplain
--- a/jaxp/src/javax/xml/stream/XMLInputFactory.java	Mon Jan 20 19:53:04 2014 +0000
+++ b/jaxp/src/javax/xml/stream/XMLInputFactory.java	Fri Jan 24 14:17:33 2014 -0800
@@ -247,8 +247,9 @@
    * <li>
    *   If {@code factoryId} is "javax.xml.stream.XMLInputFactory",
    *   use the service-provider loading facilities, defined by the
-   *   {@link java.util.ServiceLoader} class, to attempt to locate and load an
-   *   implementation of the service using the specified {@code ClassLoader}.
+   *   {@link java.util.ServiceLoader} class, to attempt to {@linkplain
+   *   java.util.ServiceLoader#load(java.lang.Class, java.lang.ClassLoader) locate and load}
+   *   an implementation of the service using the specified {@code ClassLoader}.
    *   If {@code classLoader} is null, the {@linkplain
    *   java.util.ServiceLoader#load(java.lang.Class) default loading mechanism} will apply:
    *   That is, the service-provider loading facility will use the {@linkplain
--- a/jaxp/src/javax/xml/stream/XMLOutputFactory.java	Mon Jan 20 19:53:04 2014 +0000
+++ b/jaxp/src/javax/xml/stream/XMLOutputFactory.java	Fri Jan 24 14:17:33 2014 -0800
@@ -221,8 +221,9 @@
    * <li>
    *   If {@code factoryId} is "javax.xml.stream.XMLOutputFactory",
    *   use the service-provider loading facilities, defined by the
-   *   {@link java.util.ServiceLoader} class, to attempt to locate and load an
-   *   implementation of the service using the specified {@code ClassLoader}.
+   *   {@link java.util.ServiceLoader} class, to attempt to {@linkplain
+   *   java.util.ServiceLoader#load(java.lang.Class, java.lang.ClassLoader) locate and load}
+   *   an implementation of the service using the specified {@code ClassLoader}.
    *   If {@code classLoader} is null, the {@linkplain
    *   java.util.ServiceLoader#load(java.lang.Class) default loading mechanism} will apply:
    *   That is, the service-provider loading facility will use the {@linkplain