JDK-6555752 : javax/swing/JScrollPane/AcceleratedWheelScrolling/HorizScrollers.html fails with RuntimeException.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6u2
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2007-05-10
  • Updated: 2011-01-19
  • Resolved: 2007-06-30
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.

To download the current JDK release, click here.
JDK 6 JDK 7
6u4 b01Fixed 7Resolved
Description
Bug Info:
=========
javax/swing/JScrollPane/AcceleratedWheelScrolling/HorizScrollers.html fails and it throws RuntimeException while testing thrid phase scenario in the test.

It fails in all windows flavors.

JDK Info:
=========
java version "1.6.0_02-ea"
Java(TM) SE Runtime Environment (build 1.6.0_02-ea-b02)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_02-ea-b02, mixed mode)

Error log:
==========
java.lang.RuntimeException: leading cell (23) is not 25
	at RTLScrollers$TestTable.checkTopCellIs(RTLScrollers.java:479)
	at RTLScrollers$TestTable.checkTopCellIsMax(RTLScrollers.java:516)
	at RTLScrollers.testComp(RTLScrollers.java:326)
	at RTLScrollers.runTests(RTLScrollers.java:263)
	at RTLScrollers.runTest(RTLScrollers.java:238)
	at HorizScrollers.start(HorizScrollers.java:133)
	at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:145)
	at java.lang.Thread.run(Thread.java:619)
STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: leading cell (23) is not 25
result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: leading cell (23) is not 25


test result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: leading cell (23) is not 25

Comments
EVALUATION The test case needs to be updated - there was a change to RTLScrollers.java in JDK 7. 6, 6u1, 6u2, and 7b10 all pass with the JDK7 version of the test, and fail with the same error with the 6u2 version of the test.
05-06-2007