Hello,
Please review fix for JDK9:
bug: https://bugs.openjdk.java.net/browse/JDK-8165705
webrev: http://cr.openjdk.java.net/~ssadetsky/8165705/webrev.00/
Fix 8150954 made it possible to take screenshots from compositing WM on
Linux without use of GTK library.
But the suggested solution is not compatible with some environments and
also it cannot take screenshots in the full-screen mode. The proposed
fix suggests to use the GTK based screenshots by default and only enable
the 8150954 logic if awt.robot.gtk system property is set to false.
The change should not limit the use of AWT robot to GTK2 compatible
applications because JDK9 supports both GTK versions.
--Semyon