1.1 --- a/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/DOMForest.java Thu Sep 26 10:43:28 2013 -0700 1.2 +++ b/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/DOMForest.java Fri Oct 04 16:21:34 2013 +0100 1.3 @@ -59,7 +59,7 @@ 1.4 import java.io.OutputStreamWriter; 1.5 import java.util.*; 1.6 1.7 -import static com.sun.xml.internal.bind.v2.util.XmlFactory.allowFileAccess; 1.8 +import static com.sun.xml.internal.bind.v2.util.XmlFactory.allowExternalAccess; 1.9 import static javax.xml.XMLConstants.W3C_XML_SCHEMA_NS_URI; 1.10 1.11 1.12 @@ -460,7 +460,7 @@ 1.13 } 1.14 1.15 try { 1.16 - allowFileAccess(sf, options.disableXmlSecurity).newSchema(sources.toArray(new SAXSource[0])); 1.17 + allowExternalAccess(sf, "file,http", options.disableXmlSecurity).newSchema(sources.toArray(new SAXSource[0])); 1.18 } catch (SAXException e) { 1.19 // error should have been reported. 1.20 } catch (RuntimeException re) {