<AWT Dev> [9] Review request for 8043705 Can't exit color chooser dialog when running as an applet

Petr Pchelko petr.pchelko at oracle.com
Tue May 27 13:05:08 UTC 2014


Hello, Alexander.

The fix looks good to me.

With best regards. Petr.

On 27 мая 2014 г., at 16:42, Alexander Scherbatiy <alexandr.scherbatiy at oracle.com> wrote:

> 
> Hello,
> 
> Could you review the fix:
>  bug: https://bugs.openjdk.java.net/browse/JDK-8043705
>  webrev: http://cr.openjdk.java.net/~alexsch/8043705/webrev.00
> 
>  AppContext.getAppContext() returns null in Applet for the getActiveWindowHandles() method
>  which is called from the native system.
> 
>  The fix uses the target component from the native system to find the right application context.
> 
>  The thrown NPE is cleared in the native system. The test checks the system err stream
>  to find the exception.
> 
> Thanks,
> Alexandr.
> 



More information about the awt-dev mailing list