Hello colleagues,
The test
java/awt/SplashScreen/MultiResolutionSplash/unix/UnixMultiResolutionSplashTest.java
has been frequently failing in Oracle CI systems, the failure is tracked
in JDK-8372546 [1].
The test fails due to the same reason why
java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java
failed. In short, the splash screen may not be on the screen when a
pixel is captured. More details are available in the pull request #29851
[2].
I updated the generic MultiResolutionSplashTest.java under JDK-8374304
[3]. The updated test has never failed afterwards.
UnixMultiResolutionSplashTest.java differs from
MultiResolutionSplashTest.java in that it sets the GDK_SCALE environment
variable to 2 to simulate a High DPI screen and then starts the java
launcher.
But GDK_SCALE is no longer set in GNOME, so it doesn't simulate a real
environment any more. Additionally, both macOS and Windows rely only on
the DPI setting of the host.
I propose removing UnixMultiResolutionSplashTest.java.
Does anyone have any comments or objections?
--
Regards,
Alexey
[1] https://bugs.openjdk.org/browse/JDK-8372546
[2] https://github.com/openjdk/jdk/pull/29851
[3] https://bugs.openjdk.org/browse/JDK-8374304