jdk/src/java.base/windows/classes/java/io/WinNTFileSystem.java
changeset 37781 71ed5645f17c
parent 37593 824750ada3d6
child 42777 a94fc33e9866
--- a/jdk/src/java.base/windows/classes/java/io/WinNTFileSystem.java	Tue May 03 11:45:56 2016 +0100
+++ b/jdk/src/java.base/windows/classes/java/io/WinNTFileSystem.java	Tue May 03 15:50:54 2016 +0200
@@ -42,7 +42,7 @@
     private final char semicolon;
 
     public WinNTFileSystem() {
-        Properties props = GetPropertyAction.getProperties();
+        Properties props = GetPropertyAction.privilegedGetProperties();
         slash = props.getProperty("file.separator").charAt(0);
         semicolon = props.getProperty("path.separator").charAt(0);
         altSlash = (this.slash == '\\') ? '/' : '\\';