jdk/test/javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java
changeset 34396 ab88d1b63a81
parent 29004 96b5dc94d927
child 40128 e635645d2a8a
--- 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);
             }