8032392: Spec: javax.xml.stream.XMLEventFactory/XMLOutputFactory/XMLInputFactory.newFactory(String, ClassLoader) referring to ServiceLoader.load(Class, ClassLoader)
Reviewed-by: lancea, dfuchs
This commit is contained in:
parent
679c5d3eba
commit
4139d6900c
@ -157,8 +157,9 @@ public abstract class XMLEventFactory {
|
||||
* <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
|
||||
|
@ -247,8 +247,9 @@ public abstract class XMLInputFactory {
|
||||
* <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
|
||||
|
@ -221,8 +221,9 @@ public abstract class XMLOutputFactory {
|
||||
* <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
|
||||
|
Loading…
Reference in New Issue
Block a user