Looks fine to me! Thanks, Anton.
On 9/13/2013 4:06 PM, Petr Pchelko wrote:
Hello, AWT Team. Please review the fix for the following issue: http://bugs.sun.com/view_bug.do?bug_id=8024779 (Might not be on bugs.sun.com yet) The fix is available at: http://cr.openjdk.java.net/~pchelko/8024779/webrev.01/ The problem: SwingNode crashes on exit in case Popups or ComboBoxes are used. The problem is that FX detaches the Appkit thread from the JVM before Swing finishes deallocating windows. The idea is simple: I've replaced the getJNIEnv with getJNIEnvUncached in dealloc methods. It's a common practice in all deallocation code in AWT except AWTView and AWTWindow. With best regards. Petr.