Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4784730

JCK1.4a-runtime api/java_awt/interactive/ScrollbarTests.html#ScrollbarTests fail

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      x86, sparc
    • OS:
      linux, solaris_8, solaris_9, windows_2000
    • Verification:
      Verified

      Description



      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)



      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ehawkessunw Eric Hawkes (Inactive)
                Reporter:
                ichesunw Iche Iche (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: