On Sat, 31 Oct 2020 03:19:40 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
>> Please review a test fix for an issue seen where robot image capture is >> wrong if screen scale factor is more, which could result in button or frame >> to move out of captured dimension of 300,300. >> Fixed by setting uiScale=1 in the test which can still reproduce JDK-7154030. >> Mach5 job has been run for several iterations in all platforms. Link in JBS. > > test/jdk/javax/swing/JComponent/7154030/bug7154030.java line 55: > >> 53: * @build Util >> 54: * @build ExtendedRobot >> 55: * @run main/othervm -Dsun.java2d.uiScale=1 bug7154030 > > The "sun.java2d.uiScale" does not affect the sizes of the frame on macOS, Is > it possible that it was reported on HiDPI screen macOS? It was reported in macmini (probably connect to hidpi screen) and iMac (I guess having hidpi screen). Also, I have seen mach5 job failing on windows too. I have posted failing mach5 jobs in JBS. ------------- PR: https://git.openjdk.java.net/jdk/pull/955