diff -r 82cd31c5d6ca -r 534054ee6062 jaxp/src/java.xml/share/classes/javax/xml/stream/XMLEventFactory.java --- a/jaxp/src/java.xml/share/classes/javax/xml/stream/XMLEventFactory.java Wed Jul 05 20:23:32 2017 +0200 +++ b/jaxp/src/java.xml/share/classes/javax/xml/stream/XMLEventFactory.java Thu Mar 05 17:18:19 2015 -0800 @@ -23,7 +23,7 @@ */ /* - * Copyright (c) 2009, 2013, by Oracle Corporation. All Rights Reserved. + * Copyright (c) 2009, 2015, by Oracle Corporation. All Rights Reserved. */ package javax.xml.stream; @@ -70,19 +70,34 @@ * This static method creates a new factory instance. * This method uses the following ordered lookup procedure to determine * the XMLEventFactory implementation class to load: - *

+ *

*

*

* Once an application has obtained a reference to a XMLEventFactory it * can use the factory to configure and obtain stream instances. - *

*

* Note that this is a new method that replaces the deprecated newInstance() method. * No changes in behavior are defined by this replacement method relative to * the deprecated method. - *

+ * * @throws FactoryConfigurationError in case of {@linkplain * java.util.ServiceConfigurationError service configuration error} or if * the implementation is not available or cannot be instantiated. @@ -143,20 +158,35 @@ *

* This method uses the following ordered lookup procedure to determine * the XMLEventFactory implementation class to load: - *

+ *

*

@@ -179,7 +210,6 @@ * newInstance(String factoryId, ClassLoader classLoader)} method. * No changes in behavior are defined by this replacement method relative * to the deprecated method. - *

* * @apiNote The parameter factoryId defined here is inconsistent with that * of other JAXP factories where the first parameter is fully qualified