Yep, it's the fix for 7124310 and it hasn't been pushed into JDK 7 yet. However, I'll push it soon, so you can use it in your fix.
On Mar 25, 2013, at 11:53 PM, Vladislav Karnaukhov <vladislav.karnauk...@oracle.com> wrote: > On 3/25/2013 03:51 PM, Leonid Romanov wrote: >> Hi, >> Is this the code that is present in JDK 8 but is absent in JDK 7? >> >> http://hg.openjdk.java.net/jdk8/awt/jdk/diff/094c963dca1b/src/macosx/native/sun/awt/AWTWindow.m > Yes. Is it a part of some fix/improvement? Did it target a problem similar to > that I'm working on? > > Should we port it into jdk7? > > Regards, > - Vlad > >> >> >> On 3/25/2013 6:01 PM, Vladislav Karnaukhov wrote: >>> Hello, >>> >>> please review an initial version of the fix for 8010721. >>> >>> This solution doesn't handle a situation when a modal dialog is shown. >>> In this case we should disable a menu bar' items. My fix doesn't do >>> this. I would welcome a suggestion on how we could track a window that >>> loses its "key" status. >>> >>> I know that in jdk8 we track the last key window, however in jdk7 this >>> code is absent. Would it be feasible to introduce this code into jdk7? >>> The issue is reproducible in jdk8 too BTW, so definitely I'll forward >>> this fix into jdk8. >>> >>> jira: https://jbs.oracle.com/bugs/browse/JDK-8010721 >>> webrev: http://cr.openjdk.java.net/~vkarnauk/8010721/jdk7/webrev.00/ >>> >>> Regards, >>> - Vlad >> > >