jdk/src/share/classes/java/awt/SystemTray.java
changeset 3956 2586d23078e4
parent 1191 f142c1da78c2
child 5506 202f599c92aa
--- a/jdk/src/share/classes/java/awt/SystemTray.java	Sun Oct 04 15:42:00 2009 +0100
+++ b/jdk/src/share/classes/java/awt/SystemTray.java	Mon Oct 05 16:45:55 2009 +0100
@@ -490,7 +490,7 @@
     static void checkSystemTrayAllowed() {
         SecurityManager security = System.getSecurityManager();
         if (security != null) {
-            security.checkPermission(SecurityConstants.ACCESS_SYSTEM_TRAY_PERMISSION);
+            security.checkPermission(SecurityConstants.AWT.ACCESS_SYSTEM_TRAY_PERMISSION);
         }
     }