--- a/jaxp/src/com/sun/xml/internal/stream/XMLEntityStorage.java Wed Jul 05 18:46:58 2017 +0200
+++ b/jaxp/src/com/sun/xml/internal/stream/XMLEntityStorage.java Mon Feb 18 11:33:35 2013 -0800
@@ -36,6 +36,7 @@
import com.sun.org.apache.xerces.internal.impl.PropertyManager;
import com.sun.org.apache.xerces.internal.impl.XMLErrorReporter;
import com.sun.org.apache.xerces.internal.impl.Constants;
+import com.sun.org.apache.xerces.internal.utils.SecuritySupport;
import java.util.Enumeration;
/**
@@ -414,7 +415,7 @@
// get the user.dir property
String userDir = "";
try {
- userDir = System.getProperty("user.dir");
+ userDir = SecuritySupport.getSystemProperty("user.dir");
}
catch (SecurityException se) {
}