--- 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 == '\\') ? '/' : '\\';