提交 8fb3907e 编写于 作者: B bagiras

7180036: Build failure in Mac platform caused by fix # 7163201

Reviewed-by: art, kizune, ahgross
上级 f394a540
...@@ -42,7 +42,7 @@ import java.util.concurrent.Callable; ...@@ -42,7 +42,7 @@ import java.util.concurrent.Callable;
import sun.awt.*; import sun.awt.*;
import sun.lwawt.*; import sun.lwawt.*;
import sun.lwawt.LWWindowPeer.PeerType; import sun.lwawt.LWWindowPeer.PeerType;
import sun.security.action.GetBooleanAction;
class NamedCursor extends Cursor { class NamedCursor extends Cursor {
NamedCursor(String name) { NamedCursor(String name) {
...@@ -693,7 +693,7 @@ public class LWCToolkit extends LWToolkit { ...@@ -693,7 +693,7 @@ public class LWCToolkit extends LWToolkit {
public synchronized static boolean getSunAwtDisableCALayers() { public synchronized static boolean getSunAwtDisableCALayers() {
if (sunAwtDisableCALayers == null) { if (sunAwtDisableCALayers == null) {
sunAwtDisableCALayers = AccessController.doPrivileged( sunAwtDisableCALayers = AccessController.doPrivileged(
new GetBooleanAction("sun.awt.disableCALayers"))); new GetBooleanAction("sun.awt.disableCALayers"));
} }
return sunAwtDisableCALayers.booleanValue(); return sunAwtDisableCALayers.booleanValue();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册