# HG changeset patch # User joehw # Date 1386877000 28800 # Node ID 3e5bf0372a93dcc7e0a3ce823d17c5faa8f9d446 # Parent aed9ca4d33ecdbe774d27beb744c0dbd4456237d 8029895: XMLOutputFactory.newFactory(String, ClassLoader) - incorrect specification Reviewed-by: alanb, dfuchs, lancea diff -r aed9ca4d33ec -r 3e5bf0372a93 src/javax/xml/stream/XMLOutputFactory.java --- a/src/javax/xml/stream/XMLOutputFactory.java Wed Dec 04 00:17:12 2013 -0800 +++ b/src/javax/xml/stream/XMLOutputFactory.java Thu Dec 12 11:36:40 2013 -0800 @@ -241,11 +241,10 @@ * factory class name that provides implementation of the factory. * *

- * Note that this is a new method that replaces the deprecated + * Note that this is a new method that replaces the deprecated * {@link #newInstance(java.lang.String, java.lang.ClassLoader) * newInstance(String factoryId, ClassLoader classLoader)} method. - * No changes in behavior are defined by this replacement method relative - * to the deprecated method. + * The original method was incorrectly defined to return XMLInputFactory. *

* * @param factoryId Name of the factory to find, same as