jdk/src/share/classes/javax/swing/LookAndFeel.java
changeset 25792 80fae5c73cb9
parent 25201 4adc75e0c4e5
--- a/jdk/src/share/classes/javax/swing/LookAndFeel.java	Tue Jul 22 11:38:22 2014 +0400
+++ b/jdk/src/share/classes/javax/swing/LookAndFeel.java	Tue Jul 22 13:14:59 2014 +0400
@@ -465,7 +465,7 @@
      * @see Class#getResourceAsStream(String)
      */
     public static Object makeIcon(final Class<?> baseClass, final String gifFile) {
-        return SwingUtilities2.makeIcon(baseClass, baseClass, gifFile);
+        return SwingUtilities2.makeIcon_Unprivileged(baseClass, baseClass, gifFile);
     }
 
     /**