8079253: Test javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java fails
Reviewed-by: serb, alexsch
--- 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);
}