8182638: [macosx] Active modal dialog is hidden by another non-active one
authorssadetsky
Mon, 16 Oct 2017 08:34:01 -0700
changeset 47388 19b912843392
parent 47387 4d711a58bb3b
child 47389 18c850407be9
8182638: [macosx] Active modal dialog is hidden by another non-active one Reviewed-by: azvegint, dmarkov
src/java.desktop/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java
--- a/src/java.desktop/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java	Mon Oct 16 08:06:56 2017 -0700
+++ b/src/java.desktop/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java	Mon Oct 16 08:34:01 2017 -0700
@@ -674,6 +674,7 @@
                         CWrapper.NSWindow.orderWindow(ptr, CWrapper.NSWindow.NSWindowAbove, ownerPtr);
                     });
                 });
+                execute(CWrapper.NSWindow::orderFront);
                 applyWindowLevel(target);
             }