Integrated: 8306464: [testbug] CustomSecurityManagerTest full screen tests fails on MacOS intermittently

Karthik P K kpk at openjdk.org
Mon Apr 24 17:33:56 UTC 2023


On Thu, 20 Apr 2023 08:36:59 GMT, Karthik P K <kpk at openjdk.org> wrote:

> Usage of `getBounds()` method instead `getVisualBounds()` was giving unreliable screen bound values and color value was read very close to the edge of the window.
> 
> Updated the code to use `getVisualBounds()` instead of `getBounds()` and moved the coordinates inside the window from where the color value is read.
> 
> Ran the tests individually and along with all system tests in following systems. No failure found after the fix.
> Mac M1 with Ventura 13.3
> Window 11

This pull request has now been integrated.

Changeset: 559ad113
Author:    Karthik P K <kpk at openjdk.org>
Committer: Kevin Rushforth <kcr at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/559ad1139b536142e5acad6314fb42b5e50b1e39
Stats:     19 lines in 1 file changed: 4 ins; 10 del; 5 mod

8306464: [testbug] CustomSecurityManagerTest full screen tests fails on MacOS intermittently

Reviewed-by: kcr

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

PR: https://git.openjdk.org/jfx/pull/1103


More information about the openjfx-dev mailing list