--- a/jdk/src/java.base/share/classes/jdk/internal/loader/URLClassPath.java Tue May 03 11:45:56 2016 +0100
+++ b/jdk/src/java.base/share/classes/jdk/internal/loader/URLClassPath.java Tue May 03 15:50:54 2016 +0200
@@ -85,7 +85,7 @@
private static final boolean DISABLE_JAR_CHECKING;
static {
- Properties props = GetPropertyAction.getProperties();
+ Properties props = GetPropertyAction.privilegedGetProperties();
JAVA_VERSION = props.getProperty("java.version");
DEBUG = (props.getProperty("sun.misc.URLClassPath.debug") != null);
String p = props.getProperty("sun.misc.URLClassPath.disableJarChecking");