1.1 --- a/src/share/jaxws_classes/com/sun/tools/internal/xjc/SchemaCache.java Thu Sep 26 10:43:28 2013 -0700 1.2 +++ b/src/share/jaxws_classes/com/sun/tools/internal/xjc/SchemaCache.java Fri Oct 04 16:21:34 2013 +0100 1.3 @@ -35,7 +35,7 @@ 1.4 import javax.xml.XMLConstants; 1.5 import org.xml.sax.SAXException; 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 1.10 /** 1.11 * Wraps a JAXP {@link Schema} object and lazily instantiate it. 1.12 @@ -61,7 +61,7 @@ 1.13 try { 1.14 // do not disable secure processing - these are well-known schemas 1.15 SchemaFactory sf = XmlFactory.createSchemaFactory(XMLConstants.W3C_XML_SCHEMA_NS_URI, false); 1.16 - schema = allowFileAccess(sf, false).newSchema(source); 1.17 + schema = allowExternalAccess(sf, "file", false).newSchema(source); 1.18 } catch (SAXException e) { 1.19 // we make sure that the schema is correct before we ship. 1.20 throw new AssertionError(e);