Just in case JCK tests passed on the build with fix.
Thanks,
Dmitry
On 15/08/2016 14:08, dmitry markov wrote:
Hello,
Could you review a fix for jdk9, please?
bug: https://bugs.openjdk.java.net/browse/JDK-8163583
webrev: http://cr.openjdk.java.net/~dmarkov/8163583/webrev.00/
Problem description:
If toBack() method is invoked on dialog/frame which has not-null
owner, the dialog/frame will be ordered below its owner/parent.
Fix:
The following methods in AWTWindow.m should be modified:
- nativePushNSWindowToBack() add logic to perform a proper ordering
for parent/child windows.
- sendEvent() add logic to move parent windows to front and make sure
that child windows are displayed above their nearest parents when the
window is clicked by a mouse.
Thanks,
Dmitry