-
Bug
-
Resolution: Fixed
-
P2
-
1.4.2
-
beta
-
x86, sparc
-
linux, solaris_8, solaris_9, windows_2000
-
Verified
Name: icR10030 Date: 11/26/2002
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b08, JDK1.4.1, JDK1.4.0
JCK : JCK1.4a-runtime
Platform[s] : Windows 2000 Pro, Solaris 9 (sparc) (CDE), Solaris 8 (x86), Linux
switch/Mode : -Xbatch -Xdebug -Xfuture, -server -Xmixed -Xfuture, plugin
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]:
api/java_awt/interactive/ScrollbarTests.html#ScrollbarTests [ScrollbarTest0003, ScrollbarTest0004, ScrollbarTest0005, ScrollbarTest0006]
JCK1.4a-runtime api/java_awt/interactive/ScrollbarTests.html#ScrollbarTests test fails on JDK1.4.2-b08
If min/max value of scroll bar is min/max int value the scroll bar does not work as expected.
For example the testcase ScrollbarTest0003 hangs on Linux Redhat 7.3/GNOME.
The bug is reproducible on JDK1.4.2, JDK1.4.1, JDK1.4.0
Test source location:
=====================
/java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a/tests/api/java_awt/interactive/ScrollbarTests.java
jtr file location:
==================
/net/jtgb4u4c/export/sail16/results/mantis/b08/jck14a/sparc/sol9_sparcatch_smp_novo48/workDir/api-interactive/java_awt/interactive/ScrollbarTests_ScrollbarTests.jtr
How to reproduce:
=================
1. Run the following script (you may need to change its variables)
2. Set scroll bar minimum value -2147483648
3. Press "SET" button.
4. The testcase hangs.
--- script start ---
#!/bin/bash
JCK="/net/linux-15/export/home/java/jck1.4a/JCK-runtime-14a"
JDK="/net/linux-15/export/home/java/jdk1.4.2/linux"
switches="-client -Xfuture"
CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
$JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.java.awt.interactive.Scrollbar.ScrollbarTests -TestCaseID ScrollbarTest0003 ScrollbarTest0004 ScrollbarTest0005 ScrollbarTest0006
--- script end ---
Test output:
============
...
...
Warning:
Name: scrollbar
Class: XmScrollBar
The specified slider size is less than 1.
Warning:
Name: scrollbar
Class: XmScrollBar
The specified slider size is less than 1.
...
...
Specific machine info:
======================
Hostname: linux-10
OS: Solaris 8 (x86)
Hostname: linux-2
OS: Windows 2000 Pro
Hostname: novo48
OS: Solaris 9 (sparc) (CDE)
======================================================================
- relates to
-
JDK-4786415 JCK1.4a-runtime api/javax_swing/interactive/JPMenuTests.html#JPMenuTests fails
- Resolved
-
JDK-4788946 Two JCK1.4a api/java/awt/interactive tests fail
- Closed
-
JDK-4786133 JCK1.4a-runtime api/java_awt/interactive/TextAreaTests.html#TextAreaTests fails
- Open
-
JDK-4791147 JCK1.4a-runtime api/java_awt/interactive/GridLayoutTests.html#GridLayoutTests fa
- Closed
-
JDK-4791148 JCK1.4a-runtime api/java_awt/interactive/InsetsTest.html#InsetsTest failed
- Closed