8078082: [TEST_BUG] java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java fails
authorpchopra
Tue, 21 Apr 2015 20:11:59 +0300
changeset 30474 afc246c255e1
parent 30473 e1314bc8c877
child 30475 d55fb9992239
8078082: [TEST_BUG] java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java fails Reviewed-by: serb, alexsch
jdk/test/java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java
--- a/jdk/test/java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java	Mon Apr 20 10:39:30 2015 -0700
+++ b/jdk/test/java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java	Tue Apr 21 20:11:59 2015 +0300
@@ -40,7 +40,7 @@
 
 /**
  * @test
- * @bug 8043869 8075244
+ * @bug 8043869 8075244 8078082
  * @author Alexander Scherbatiy
  * @summary [macosx] java -splash does not honor 2x hi dpi notation for retina
  * support
@@ -115,6 +115,7 @@
         frame.setSize(100, 100);
         String test = "123";
         TextField textField = new TextField(test);
+        textField.selectAll();
         frame.add(textField);
         frame.setVisible(true);
         robot.waitForIdle();