Hi Sergey, Ok, I’ve changed it as you suggested:
http://cr.openjdk.java.net/~ant/JDK-8160570/webrev.1 <http://cr.openjdk.java.net/~ant/JDK-8160570/webrev.1> Regards, Anton. > On 09 Aug 2016, at 17:34, Sergey Bylokhov <sergey.bylok...@oracle.com> wrote: > > Hi, Anton. > Is it possible to call updateFocusableWindowState() from the > initializeImpl()? initializeImpl() is a place where we init the peer before > make it visible, but after constructor of the peer was called. > > On 29.06.16 21:04, Anton Tarasov wrote: >> Hello, >> >> Please review the fix: >> >> bug: https://bugs.openjdk.java.net/browse/JDK-8160570 >> webrev: http://cr.openjdk.java.net/~ant/JDK-8160570/webrev.0 >> >> The problem is that a modal dialog can skip the activation/focus events >> on OSX. >> The fix is to cache the focusability state of the Window peer earlier, >> in its ctor. >> Please find more details in JIRA. >> >> Thanks, >> Anton. > > > -- > Best regards, Sergey.