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

JCK1.3a, interactive: JList behaves incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.4.0
    • client-libs



      Name: asR10013 Date: 03/09/2001



      Bug description ---> JList spontaneously changes its own sizes and does it repeatedly when any of JList's scrollbars is visible.
      ****************************************************************************
      Failing Test:
      =============
      api/javax_swing/interactive/JListTests.html#JList

      JCK :
      =====
      JCK1.3a

      Test source location:
      ====================
      /net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/javax_swing/interactive/JListTests.java

      Platforms:
      =============
      Windows 95

      JDK, switches Info:
      ===================
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b54)
      Java HotSpot(TM) Client VM (build B54, mixed mode)


      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail7/JavaWebServer1.1.3/public_html/QA/merlin/b54/jck13a/win32/win95_plugin_ns4.7_linux-19/workDir/api-interactive/javax_swing/interactive/JListTests_JList.jtr


      How to reproduce:
      ====================
      Run the following script (You may need to set JDK and TESTBASE).
      Try to scroll down JList's vertical scrollbar.
      You will see the JList repeatedly changes it's own sizes.

      Source
      ======
      #!/bin/ksh

      SWITCH=$@

      JDK=x:/usr/local/java/jdk1.4/win32/
      TESTBASE=x:/net/sqesvr/export/st1/JCK-13a/

      JCK=${TESTBASE}/JCK-runtime-13a/

      executeClass=javasoft.sqe.tests.api.javax.swing.interactive.JList.JListTests
      excludeCmd="-TestCaseID JListTest0003"
      executeClassArgs="-TestDirURL file:///${JCK}tests/api/javax_swing/interactive/JListTests.html#JList"
      executeTestURL=""

      CLASSPATH=${JCK}/classes\;${JCK}/javatest.jar
      DISPLAY=${DISPLAY-$HOST:0.0}
      LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
      PATH=$JDK/bin\;$PATH

      export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH

      ${JDK}/bin/java ${SWITCH} -showversion -cp ${CLASSPATH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}

      Test output:
      =============
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b54)
      Java HotSpot(TM) Client VM (build B54, mixed mode)


      Specific Machine Info:
      =====================

      Additional JCK related info:
      ============================
      URL to find JCK test owners: http://javaweb.eng/jck/usr/owners.jto


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

            Unassigned Unassigned
            alssunw Als Als (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: