8079253: Test javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java fails
authorrchamyal
Fri, 13 Nov 2015 18:46:16 +0400
changeset 34396 ab88d1b63a81
parent 34395 2ac7e99f7f4a
child 34397 86a74cb6c903
8079253: Test javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java fails Reviewed-by: serb, alexsch
jdk/test/javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java
--- a/jdk/test/javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java	Fri Nov 13 18:36:14 2015 +0400
+++ b/jdk/test/javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java	Fri Nov 13 18:46:16 2015 +0400
@@ -36,10 +36,10 @@
 
 /**
  * @test
- * @bug 8015085
+ * @bug 8015085 8079253
  * @summary Shortening via " ... " is broken for Strings containing a combining
  *          diaeresis.
- * @author Sergey Bylokhov
+ * @run main TestBadBreak
  */
 public class TestBadBreak {
 
@@ -79,6 +79,7 @@
                         g2d.dispose();
                     }
                 };
+                label.setOpaque(true);
                 frame.getContentPane().add(label);
                 frame.setBounds(200, 200, 200, 90);
             }