--- old/test/java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java 2016-05-30 21:35:59.308339800 +0300 +++ new/test/java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java 2016-05-30 21:35:59.094059100 +0300 @@ -104,6 +104,16 @@ int screenX = (int) splashBounds.getCenterX(); int screenY = (int) splashBounds.getCenterY(); + if (splashBounds.width != IMAGE_WIDTH) { + throw new RuntimeException( + "SplashScreen#getBounds has wrong width"); + } + + if (splashBounds.height != IMAGE_HEIGHT) { + throw new RuntimeException( + "SplashScreen#getBounds has wrong height"); + } + Robot robot = new Robot(); Color splashScreenColor = robot.getPixelColor(screenX, screenY);