[jdk11u-dev] RFR: 8211999: Window positioning bugs due to overlapping GraphicsDevice bounds (Windows/HiDPI)

Sergey Bylokhov serb at openjdk.java.net
Mon Oct 11 01:59:11 UTC 2021


On Thu, 7 Oct 2021 15:40:30 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> Backport of JDK-8211999. Applies almost cleanly. I had to integrate hunks in WRobotPeer.java and Robot.java manually.

Looks like at least one new test fails because of a compilation error due to switch expression:

WindowSizeDifferentScreens\\WindowSizeDifferentScreens.java:110: error: illegal start of expression
            default -> throw new IllegalArgumentException("Unexpected: " + top);
                    ^
9 errors
result: Failed. Compilation failed: Compilation failed
test result: Failed. Compilation failed: Compilation failed

-------------

PR: https://git.openjdk.java.net/jdk11u-dev/pull/494


More information about the jdk-updates-dev mailing list