Hi Sergey,
the fix looks good to me as it is,
but I think it can be improved by saving robot instance to a static
field (to avoid robot creation at every waitForIdle() call).
--
Thanks,
Alexander.
25.12.2014 17:08, Sergey Bylokhov пишет:
Hello.
Please review a small fix for jdk 9.
The problem is in the Util.waitForIdle(Robot) which does not take into
account that robot can be null.
Bug: https://bugs.openjdk.java.net/browse/JDK-8068275
Webrev can be found at:
http://cr.openjdk.java.net/~serb/8068275/webrev.01