<AWT Dev> [8] Review Request: JDK-8024779 [macosx] SwingNode crashes on exit
Anton Tarasov
anton.tarasov at oracle.com
Fri Sep 13 09:27:12 PDT 2013
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.
>
More information about the awt-dev
mailing list