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

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Tue May 27 12:42:56 UTC 2014


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