The above test was failing due to incorrect pixel color and wrong window bounds 
on Mac-ARM, Windows and Linux platforms.

The following changes have been made:
- Correct window bounds are obtained using the screen device being tested (this 
test checks FullScreen functionality on multiple screen devices).
- Color tolerance has been added for color check
- Instead of scanning the full screen to check pixel color, the scan is done at 
the far right and bottom end to ensure that window is in full screen mode w.r.t 
to screen device and the window bounds are as expected.

CI testing passes on all platforms (tested 50 times per platform).

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

Commit messages:
 - FullScreenInsets changes, initial commit

Changes: https://git.openjdk.org/jdk/pull/11462/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11462&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8266245
  Stats: 70 lines in 2 files changed: 35 ins; 3 del; 32 mod
  Patch: https://git.openjdk.org/jdk/pull/11462.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11462/head:pull/11462

PR: https://git.openjdk.org/jdk/pull/11462

Reply via email to