7180036: Build failure in Mac platform caused by fix # 7163201
authorbagiras
Mon, 23 Jul 2012 15:51:46 +0400
changeset 13605 be3bee073685
parent 13604 31089af1a447
child 13606 91c629b8d59e
7180036: Build failure in Mac platform caused by fix # 7163201 Reviewed-by: art, kizune, ahgross
jdk/src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java
--- a/jdk/src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java	Thu Aug 30 13:11:23 2012 -0700
+++ b/jdk/src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java	Mon Jul 23 15:51:46 2012 +0400
@@ -42,7 +42,7 @@
 import sun.awt.*;
 import sun.lwawt.*;
 import sun.lwawt.LWWindowPeer.PeerType;
-
+import sun.security.action.GetBooleanAction;
 
 class NamedCursor extends Cursor {
     NamedCursor(String name) {
@@ -693,7 +693,7 @@
     public synchronized static boolean getSunAwtDisableCALayers() {
         if (sunAwtDisableCALayers == null) {
             sunAwtDisableCALayers = AccessController.doPrivileged(
-                new GetBooleanAction("sun.awt.disableCALayers")));
+                new GetBooleanAction("sun.awt.disableCALayers"));
         }
         return sunAwtDisableCALayers.booleanValue();
     }