--- 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");