--- old/src/java.xml/share/classes/javax/xml/parsers/DocumentBuilderFactory.java 2016-11-17 20:49:01.000000000 +0000 +++ new/src/java.xml/share/classes/javax/xml/parsers/DocumentBuilderFactory.java 2016-11-17 20:49:01.000000000 +0000 @@ -25,6 +25,7 @@ package javax.xml.parsers; +import com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl; import javax.xml.validation.Schema; /** @@ -54,6 +55,19 @@ } /** + * Creates a new instance of the {@code DocumentBuilderFactory} builtin + * system-default implementation. + * + * @return A new instance of the {@code DocumentBuilderFactory} builtin + * system-default implementation. + * + * @since 9 + */ + public static DocumentBuilderFactory newDefaultInstance() { + return new DocumentBuilderFactoryImpl(); + } + + /** * Obtain a new instance of a * {@code DocumentBuilderFactory}. This static method creates * a new factory instance. @@ -93,7 +107,8 @@ * </li> * <li> * <p> - * Otherwise, the system-default implementation is returned. + * Otherwise, the {@linkplain #newDefaultInstance() system-default} + * implementation is returned. * </li> * </ul> *