--- old/test/java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java 2016-05-30 22:09:57.187124800 +0300 +++ new/test/java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java 2016-05-30 22:09:56.980125100 +0300 @@ -93,6 +93,15 @@ 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);