jaxp/src/java.xml/share/classes/javax/xml/catalog/CatalogManager.java
changeset 40753 7fdd41fa7d26
parent 40582 1dddef49982c
child 43121 e73af7b6ce47
--- a/jaxp/src/java.xml/share/classes/javax/xml/catalog/CatalogManager.java	Tue Aug 30 17:49:43 2016 -0700
+++ b/jaxp/src/java.xml/share/classes/javax/xml/catalog/CatalogManager.java	Wed Aug 31 14:33:23 2016 -0700
@@ -62,7 +62,9 @@
      * @throws CatalogException If an error occurs while parsing the catalog
      */
     public static Catalog catalog(CatalogFeatures features, String... paths) {
-        return new CatalogImpl(features, paths);
+        CatalogImpl catalog = new CatalogImpl(features, paths);
+        catalog.load();
+        return catalog;
     }
 
     /**