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

JCK1.4a-runtime api/javax_swing/interactive/JScrollBarTests.html#JScrollBar fail

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      tiger
    • CPU:
      x86, sparc
    • OS:
      linux, solaris_8, solaris_9
    • 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] : Solaris 9 (sparc) (CDE), Solaris 8 (x86), Linux
      switch/Mode : -client, -Xbatch -Xdebug -Xfuture, -server -Xmixed -Xfuture
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]:
                api/javax_swing/interactive/JScrollBarTests.html#JScrollBar [JScrollBarTest0012, JScrollBarTest0013]

      JCK1.4a-runtime api/javax_swing/interactive/JScrollBarTests.html#JScrollBar test fails on JDK1.4.2-b08
      Setting "Unit increment" or "Block increment" to max int 2147483647 causes to change max value of scroll bar.
      The bug is reproducible in 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/javax_swing/interactive/JScrollBarTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/mantis/b08/jck14a/sparc/sol9_sparc_client_batch_debug_novo48/javax_swing/interactive/JScrollBarTests_JScrollBar.jtr

      How to reproduce:
      =================
      1. Run the following script (you may need to change its variables)
      2. Set Unit increment to 2147483647
      3. Scroll to left
      4. Scroll to right
      5. Max value of scroll bar will be changed

      --- 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/sparc"
      switches="-Xbatch -Xdebug -Xfuture"
      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"

      $JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.javax.swing.interactive.JScrollBar.JScrollBarTests -TestCaseID JScrollBarTest0012 JScrollBarTest0013

      --- script end ---


      Test output:
      ============
      JScrollBarTest0012: Failed. setUnitIncrement(int) method does not work as expected.
      JScrollBarTest0013: Failed. setBlockIncrement(int) method does not work as expected.
      STATUS:Failed.test cases: 2; all failed; first test case failure: JScrollBarTest0012

      Specific machine info:
      ======================
      Hostname: linux-10
      OS: Solaris 8 (x86)
      Hostname: novo48
      OS: Solaris 9 (sparc) (CDE)
      Hostname: linux-13
      OS: Radhat 7.3



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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              joutwatesunw Joshua Outwater (Inactive)
              Reporter:
              ichesunw Iche Iche (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: