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

Jayathirth D v JAYATHIRTH.D.V at ORACLE.COM
Mon Feb 3 12:25:15 UTC 2020


Changes are fine.

Thanks,
Jay

> On 03-Feb-2020, at 12:49 PM, Sergey Bylokhov <Sergey.Bylokhov at oracle.com> wrote:
> 
> Hello.
> 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