jdk/src/java.base/share/classes/jdk/internal/reflect/ReflectionFactory.java
changeset 37781 71ed5645f17c
parent 37593 824750ada3d6
child 41608 bb724835848f
--- a/jdk/src/java.base/share/classes/jdk/internal/reflect/ReflectionFactory.java	Tue May 03 11:45:56 2016 +0100
+++ b/jdk/src/java.base/share/classes/jdk/internal/reflect/ReflectionFactory.java	Tue May 03 15:50:54 2016 +0200
@@ -398,7 +398,7 @@
             return;
         }
 
-        Properties props = GetPropertyAction.getProperties();
+        Properties props = GetPropertyAction.privilegedGetProperties();
         String val = props.getProperty("sun.reflect.noInflation");
         if (val != null && val.equals("true")) {
             noInflation = true;