-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
tiger
-
generic
-
generic
-
Verified
Name: iaR10016 Date: 04/03/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b03, JDK1.4.2-b19, JDK1.4.1
JCK : JCK1.4a-runtime
Platform[s] : all
switch/Mode : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling tests : api/javax_swing/interactive/JScrollBarTests.html#JScrollBar [JScrollBarTest0013]
JCK1.4a-runtime api/javax_swing/interactive/JScrollBarTests.html#JScrollBar test fails with JDK1.5.0-b03.
JScrollBar behaves incorrectly if "Block increment" value is big enough.
The bug is also reproducible with JDK1.4.2, JDK1.4.1, JDK1.4.0
Test source location:
=====================
/java/re/jck/1.4a/archive/fcs/binaries/JCK-runtime-14a/tests/api/javax_swing/interactive/JScrollBarTests.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/tiger/b03/jck14a/win32/win2000_smp_plugin_ie6.0_linux-22/workDir/api-interactive/javax_swing/interactive/JScrollBarTests_JScrollBar.jtr
How to reproduce:
=================
1. Run the script below (you may need to change it's JCK and JDK variables)
2. Set Unit increment to 2147483647 (max integer number).
"Block increment" value becomes 2147483647, "Extent" and "Value" remain the same (10 and 50 correspondently).
It is OK.
3. Click mouse in JScrollBar at right of the knob. Knob shold be moved right and Value should be set to 90.
But really the knob moves left and Value becomes 0!
--- script start ---
#!/bin/bash
JCK="/java/re/jck/1.4a/archive/fcs/binaries/JCK-runtime-14a"
JDK="/net/jdk/export/disk8/local.java/jdk1.5/linux-i386"
export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
$JDK/bin/java javasoft.sqe.tests.api.javax.swing.interactive.JScrollBar.JScrollBarTests -TestCaseID JScrollBarTest0013
--- script end ---
Specific machine info:
======================
Hostname: linux-22
OS: Windows 2000 Pro
Hostname: linux-19
OS: RedHat Linux 7.3
======================================================================
- relates to
-
JDK-4865915 JCK1.4a-runtime api/javax_swing/interactive/JScrollBarTests.html#JScrollBar
-
- Closed
-
-
JDK-4865918 REGRESSION: JCK1.4a-runtime api/javax_swing/interactive/JScrollBarTests.html#JSc
-
- Closed
-
-
JDK-4784708 JCK1.4a-runtime api/javax_swing/interactive/JScrollBarTests.html#JScrollBar fail
-
- Closed
-