提交 000db77f 编写于 作者: P pchelko

8024158: [macosx] java/awt/EventDispatchThread/LoopRobustness/LoopRobustness...

8024158: [macosx] java/awt/EventDispatchThread/LoopRobustness/LoopRobustness still failed after fix JDK-8022247; since jdk8b96
Reviewed-by: art, leonidr
上级 edcd0581
...@@ -1150,8 +1150,11 @@ public class LWWindowPeer ...@@ -1150,8 +1150,11 @@ public class LWWindowPeer
return false; return false;
} }
Window currentActive = KeyboardFocusManager. AppContext targetAppContext = AWTAccessor.getComponentAccessor().getAppContext(getTarget());
getCurrentKeyboardFocusManager().getActiveWindow(); KeyboardFocusManager kfm = AWTAccessor.getKeyboardFocusManagerAccessor()
.getCurrentKeyboardFocusManager(targetAppContext);
Window currentActive = kfm.getActiveWindow();
Window opposite = LWKeyboardFocusManagerPeer.getInstance(). Window opposite = LWKeyboardFocusManagerPeer.getInstance().
getCurrentFocusedWindow(); getCurrentFocusedWindow();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册