jaxp/src/com/sun/xml/internal/stream/XMLEntityStorage.java
changeset 16953 a44e04deb948
parent 12458 d601e4bba306
child 22139 f4b2aa462b46
--- 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) {
         }