[jdk8u-dev] RFR: 8215105: java/awt/Robot/HiDPIScreenCapture/ScreenCaptureTest.java: Wrong Pixel Color
Sergey Bylokhov
serb at openjdk.org
Tue Apr 4 22:29:07 UTC 2023
Mostly clean backport of the patch [JDK-8215105](https://bugs.openjdk.org/browse/JDK-8215105), [commit](https://hg.openjdk.org/jdk/jdk/rev/9727e63dff13), except this additional change in the test:
- for (final Color color : List.of(Color.WHITE, Color.LIGHT_GRAY,
+ for (final Color color : new Color[]{Color.WHITE, Color.LIGHT_GRAY,
-------------
Commit messages:
- Delete the usage of "List.of()"
- Backport 5bffde3d4ff623283e342d902439b3ca5ebe81f5
Changes: https://git.openjdk.org/jdk8u-dev/pull/297/files
Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=297&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8215105
Stats: 87 lines in 2 files changed: 86 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk8u-dev/pull/297.diff
Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/297/head:pull/297
PR: https://git.openjdk.org/jdk8u-dev/pull/297
More information about the jdk8u-dev
mailing list