jdk/src/java.base/unix/classes/java/io/UnixFileSystem.java
changeset 37781 71ed5645f17c
parent 37593 824750ada3d6
child 42777 a94fc33e9866
--- a/jdk/src/java.base/unix/classes/java/io/UnixFileSystem.java	Tue May 03 11:45:56 2016 +0100
+++ b/jdk/src/java.base/unix/classes/java/io/UnixFileSystem.java	Tue May 03 15:50:54 2016 +0200
@@ -36,7 +36,7 @@
     private final String javaHome;
 
     public UnixFileSystem() {
-        Properties props = GetPropertyAction.getProperties();
+        Properties props = GetPropertyAction.privilegedGetProperties();
         slash = props.getProperty("file.separator").charAt(0);
         colon = props.getProperty("path.separator").charAt(0);
         javaHome = props.getProperty("java.home");