JDK-8043705 : Can't exit color chooser dialog when running as an applet
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
With 9 b13 start SwingSet2 as an applet then start the ColorChooser Demo then click on the Background button then try to exit the dialog.
Why did not integrated into promoted build?
The JDK 7u60 contains fix for the issue JDK-8042590 which checks that AppContext is not null. This prevents NPE for the modal dialog closing.
I run SwingSet2 with JRE 1.7.0_65-b30 and the issue is not reproduced.
There is no need to backport the fix to JDK 7u.
The fix will be in 8u20 b20 and 9 b21
CAP member had verified it was not fixed in JDK 9 b18 yet. seems it is still in master workspace and not integrated into release build yet.
Hi Ting-Yun, I see 8043705 under the b15 tag of http://hg.openjdk.java.net/jdk9/client/jdk but I don't see 8043705 anywhere in http://hg.openjdk.java.net/jdk9/jdk9/jdk (Master, which is now up to b18) so I'm guessing it's not integrated yet.
still can reproduce the problem on 9 b16
This doesn't appear to be fixed in 9 b16 using Chrome 35. chrome://plugins shows the version as 184.108.40.206.
closing the ColorChooser dialog in applet throws the exception:
cache: Clean up the reference queue: SwingSet2/SwingSet2.jar
cache: deregisterReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@15e9f500: 2
at sun.awt.windows.WWindowPeer.getActiveWindowHandles(Unknown Source)
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)