JDK-6959260 : javax/swing/JLabel/6501991/bug6501991.java failed on build 1.7.0-ea-b96
Type:Bug
Component:client-libs
Sub-Component:javax.swing
Affected Version:7
Priority:P3
Status:Closed
Resolution:Fixed
OS:solaris
CPU:sparc
Submitted:2010-06-08
Updated:2011-05-18
Resolved:2011-05-18
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
EVALUATION
The 6501991 fix was somehow thrown away while working on Arabic numeral shaping -- it should be restored.
There's another failing Swing test in ProblemList.txt:
com/sun/java/swing/plaf/gtk/Test6635110.java
It fails on Windows after trying to set GTK LAF -- need to conditionalize.
22-06-2010
EVALUATION
The test failed because of the following exception:
java.lang.ArrayIndexOutOfBoundsException: -1
at java.awt.font.LineBreakMeasurer.nextOffset(LineBreakMeasurer.java:364)
at java.awt.font.LineBreakMeasurer.nextOffset(LineBreakMeasurer.java:328)
at sun.swing.SwingUtilities2.clipString(SwingUtilities2.java:467)
at javax.swing.SwingUtilities.layoutCompoundLabelImpl(SwingUtilities.java:1017)
at javax.swing.SwingUtilities.layoutCompoundLabel(SwingUtilities.java:886)
at javax.swing.plaf.basic.BasicLabelUI.layoutCL(BasicLabelUI.java:94)
at javax.swing.plaf.basic.BasicLabelUI.layout(BasicLabelUI.java:201)
at javax.swing.plaf.basic.BasicLabelUI.paint(BasicLabelUI.java:164)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:778)
at javax.swing.JComponent.paint(JComponent.java:1054)
at bug6501991.main(bug6501991.java:43)