looks fine to me too.
On 5/27/14 5:05 PM, Petr Pchelko wrote:
Hello, Alexander.
The fix looks good to me.
With best regards. Petr.
On 27 мая 2014 г., at 16:42, Alexander Scherbatiy
<[email protected]> 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.
--
Best regards, Sergey.