The fix looks good to me.
Thanks,
Alexandr.
On 6/8/2016 11:08 AM, Semyon Sadetsky wrote:
Hello,
Please review fix for JDK9:
bug: https://bugs.openjdk.java.net/browse/JDK-8156185
webrev: http://cr.openjdk.java.net/~ssadetsky/8156185/webrev.00/
Scan through the GraphicsDevice#getConfigurations() may take
significant time on some hardware configurations. But actually it is
not needed to find the device configuration for the tooltip, because
only the information about device bounds/insets is used then. So, the
scan is replaced with device.getDefaultConfiguration().
--Semyon