--- old/src/java.xml/share/classes/javax/xml/stream/XMLOutputFactory.java 2016-12-15 10:06:51.026121985 -0800 +++ new/src/java.xml/share/classes/javax/xml/stream/XMLOutputFactory.java 2016-12-15 10:06:50.894115386 -0800 @@ -1,4 +1,5 @@ /* + * Copyright (c) 2009, 2016, 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 @@ -22,10 +23,6 @@ * questions. */ -/* - * Copyright (c) 2009, 2013, by Oracle Corporation. All Rights Reserved. - */ - package javax.xml.stream; import com.sun.xml.internal.stream.XMLOutputFactoryImpl; @@ -121,7 +118,7 @@ protected XMLOutputFactory(){} - /** + /** * Creates a new instance of the {@code XMLOutputFactory} builtin * system-default implementation. * @@ -225,6 +222,7 @@ * Use the new method {@link #newFactory(java.lang.String, * java.lang.ClassLoader)} instead. */ + @Deprecated(since="7") public static XMLInputFactory newInstance(String factoryId, ClassLoader classLoader) throws FactoryConfigurationError {