changeset 13221:c02fde8e6d02

8079253: Test javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java fails Reviewed-by: serb, alexsch
author rchamyal
date Fri, 13 Nov 2015 18:46:16 +0400
parents bc2d1130105f
children 8524af43f1fa
files test/javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java	Fri Nov 13 18:36:14 2015 +0400
+++ b/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);
             }