<AWT Dev>  Review Request: 8211435 Exception in thread "AWT-EventQueue-1" java.lang.IllegalArgumentException: null source
bourges.laurent at gmail.com
Tue Oct 30 18:47:12 UTC 2018
Oracle deprecated Java Web Start but I am now involved in IcedTeaWeb to
maintain JNLP support for our science tools at http://www.jmmc.fr !
I DO need AppContexts, and anything useful to maintain IcedTeaWeb alive ...
Le mar. 30 oct. 2018 à 18:20, Phil Race <philip.race at oracle.com> a écrit :
> Looks good to me.
> I'll take this opportunity to ask a question to people on this list.
> Now that we've removed plugin+webstart, do we still need AppContext at all
> Can the entire mechanism be removed from all sources ?
> Or is there still some useful reason for keeping it ?
> Even though it is internal, external apps could be using it *indirectly*
> by using
> separate ThreadGroups / class loaders but what would be their purpose in
> this ?
> On 10/24/18 2:31 PM, Sergey Bylokhov wrote:
> > Hello.
> > Please review the fix for jdk 12.
> > Bug: https://bugs.openjdk.java.net/browse/JDK-8211435
> > Webrev: http://cr.openjdk.java.net/~serb/8211435/webrev.00
> > Bug description:
> > In the DefaultKeyboardFocusManager class we have a special field
> > "activeWindow", which stores the currently active window. It is used
> > in two similar cases:
> > 1. If the java window gets "WINDOW_ACTIVATED" event it will try to
> > send "WINDOW_DEACTIVATED" to the old active window, which is stored in
> > the "activeWindow" field.
> > 2. If the java component lost the focus, and the opposite component
> > is not a java component, then it will try to send "WINDOW_DEACTIVATED"
> > to the old active window, which is stored in the "activeWindow" field.
> > The difference in these two cases is that in "case 1" we check the old
> > active window to null, and the second case has no such check. The
> > bug is reproduced in non-standalone mode, when we have a few
> > Appcontexts and this field might be updated by different EDT in parallel.
> > Note that the test is for OSX only, because of another bug:
> > JDK-8204142
> > 
> >  https://bugs.openjdk.java.net/browse/JDK-8204142
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the awt-dev