7180036: Build failure in Mac platform caused by fix # 7163201
Reviewed-by: art, kizune, ahgross
--- 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();
}