JDK-7007708 : TEST: javax/swing/JScrollBar/6542335/bug6542335.java failes agaisnt jdk7 on solaris/linux
Type:Bug
Component:client-libs
Sub-Component:javax.swing
Affected Version:7
Priority:P3
Status:Closed
Resolution:Duplicate
OS:linux
CPU:x86
Submitted:2010-12-17
Updated:2011-02-21
Resolved:2011-02-21
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
Unbelievable, but under solaris JScrollBar changes its height during the test, regardless of the test doesn't change frame and scroll bar size. That's not the test problem, therefore I just used another layout in the test. I also moved all the code on the EDT thread
22-12-2010
EVALUATION
Probably the problem is in the fact that ui.getThumbBounds() is called on the main thread