7180036: Build failure in Mac platform caused by fix # 7163201
Reviewed-by: art, kizune, ahgross
This commit is contained in:
parent
ffc9ae1245
commit
f28b488994
@ -42,7 +42,7 @@ import java.util.concurrent.Callable;
|
||||
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 class LWCToolkit extends LWToolkit {
|
||||
public synchronized static boolean getSunAwtDisableCALayers() {
|
||||
if (sunAwtDisableCALayers == null) {
|
||||
sunAwtDisableCALayers = AccessController.doPrivileged(
|
||||
new GetBooleanAction("sun.awt.disableCALayers")));
|
||||
new GetBooleanAction("sun.awt.disableCALayers"));
|
||||
}
|
||||
return sunAwtDisableCALayers.booleanValue();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user