<AWT Dev> RFR: 8225126 Test SetBoundsPaintTest.html faild on Windows when desktop is scaled

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Mon Feb 3 07:19:27 UTC 2020

Please review the fix for jdk/client.

Bug: https://bugs.openjdk.java.net/browse/JDK-8225126
Fix: http://cr.openjdk.java.net/~serb/8225126/webrev.00

One more fix for the bug where we inconsistently mix the user's
space coordinates and device's space coordinates and provoke an
infinite repainting loop.

In the fix, all values from the native API like
GetSystemMetrics/GetWindowRect should be converted to the user's
space, and data passed to the native API should be converted to
device space.

The test SetBoundsPaintTest.java is moved from the closed to the
open repo.

Best regards, Sergey.

More information about the awt-dev mailing list