diff -r cc682329886b -r b0610cd08440 src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/DOMForest.java --- a/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/DOMForest.java Thu Sep 26 10:43:28 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/DOMForest.java Fri Oct 04 16:21:34 2013 +0100 @@ -59,7 +59,7 @@ import java.io.OutputStreamWriter; import java.util.*; -import static com.sun.xml.internal.bind.v2.util.XmlFactory.allowFileAccess; +import static com.sun.xml.internal.bind.v2.util.XmlFactory.allowExternalAccess; import static javax.xml.XMLConstants.W3C_XML_SCHEMA_NS_URI; @@ -460,7 +460,7 @@ } try { - allowFileAccess(sf, options.disableXmlSecurity).newSchema(sources.toArray(new SAXSource[0])); + allowExternalAccess(sf, "file,http", options.disableXmlSecurity).newSchema(sources.toArray(new SAXSource[0])); } catch (SAXException e) { // error should have been reported. } catch (RuntimeException re) {