Mercurial > hg > openjdk > jdk9 > jaxp
changeset 549:e5256f530a9b jdk9-b01
8029895: XMLOutputFactory.newFactory(String, ClassLoader) - incorrect specification
Reviewed-by: alanb, dfuchs, lancea
author | joehw |
---|---|
date | Thu, 12 Dec 2013 11:36:40 -0800 |
parents | 6cfe9502343e |
children | 5be9a92100bf 9ddbebe5236e |
files | src/javax/xml/stream/XMLOutputFactory.java |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/javax/xml/stream/XMLOutputFactory.java Sun Jan 05 21:00:00 2014 -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. * * <p> - * 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. * </p> * * @param factoryId Name of the factory to find, same as