changeset 554:0ee04ce26358

8032392: Spec: javax.xml.stream.XMLEventFactory/XMLOutputFactory/XMLInputFactory.newFactory(String, ClassLoader) referring to ServiceLoader.load(Class, ClassLoader) Reviewed-by: lancea, dfuchs
author joehw
date Fri, 24 Jan 2014 14:17:33 -0800
parents 1d9a0d953497
children c29e1afe7d7e
files src/javax/xml/stream/XMLEventFactory.java src/javax/xml/stream/XMLInputFactory.java src/javax/xml/stream/XMLOutputFactory.java
diffstat 3 files changed, 9 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/javax/xml/stream/XMLEventFactory.java	Mon Jan 20 19:53:04 2014 +0000
+++ b/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/src/javax/xml/stream/XMLInputFactory.java	Mon Jan 20 19:53:04 2014 +0000
+++ b/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/src/javax/xml/stream/XMLOutputFactory.java	Mon Jan 20 19:53:04 2014 +0000
+++ b/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