--- old/src/java.xml/share/classes/javax/xml/stream/XMLEventFactory.java 2017-07-17 13:36:56.093487553 -0700 +++ new/src/java.xml/share/classes/javax/xml/stream/XMLEventFactory.java 2017-07-17 13:36:55.969481420 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -125,10 +125,6 @@ *

* 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 --- old/src/java.xml/share/classes/javax/xml/stream/XMLInputFactory.java 2017-07-17 13:36:56.601512678 -0700 +++ new/src/java.xml/share/classes/javax/xml/stream/XMLInputFactory.java 2017-07-17 13:36:56.469506149 -0700 @@ -209,16 +209,11 @@ *

* Once an application has obtained a reference to a XMLInputFactory 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. */ - @Deprecated(since="1.7") public static XMLInputFactory newFactory() throws FactoryConfigurationError { --- old/src/java.xml/share/classes/javax/xml/stream/XMLOutputFactory.java 2017-07-17 13:36:57.089536813 -0700 +++ new/src/java.xml/share/classes/javax/xml/stream/XMLOutputFactory.java 2017-07-17 13:36:56.961530482 -0700 @@ -189,10 +189,6 @@ *

* Once an application has obtained a reference to a XMLOutputFactory 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