File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
modules/javafx.graphics/src/main/java/com/sun/glass/ui/monocle
tests/system/src/test/java/test/javafx/stage Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ boolean maximizeWindow(MonocleWindow window) {
121121
122122 boolean requestFocus (MonocleWindow window ) {
123123 int index = getWindowIndex (window );
124- if (index != -1 && window . isVisible () ) {
124+ if (index != -1 ) {
125125 focusedWindow = window ;
126126 window .notifyFocus (WindowEvent .FOCUS_GAINED );
127127 return true ;
Original file line number Diff line number Diff line change 2828import javafx .application .Platform ;
2929import org .junit .AfterClass ;
3030import org .junit .BeforeClass ;
31+ import org .junit .Ignore ;
3132import org .junit .Test ;
3233
3334public class FocusedWindowMonocleTest extends FocusedWindowTestBase {
@@ -42,6 +43,7 @@ public static void initFX() throws Exception {
4243 initFXBase ();
4344 }
4445
46+ @ Ignore ("JDK-8254956" )
4547 @ Test
4648 public void testClosedFocusedStageLeak () throws Exception {
4749 testClosedFocusedStageLeakBase ();
You can’t perform that action at this time.
0 commit comments