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

JCK1.4a-runtime api/java_awt/interactive/GridLayoutTests.html#GridLayoutTests fa

    Details

    • Subcomponent:
    • CPU:
      x86, sparc, itanium
    • OS:
      linux, solaris_8, windows_2000

      Description

      Name: iaR10016 Date: 12/09/2002


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b09, JDK1.4.0, JDK1.4.1
      JCK : JCK1.4a-runtime
      Platform[s] : SuSe 8.0 (GNOME), RedHat Linux 7.3(GNOME), Windows 2000, Solaris Sparc, Solaris x86
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling tests : api/java_awt/interactive/GridLayoutTests.html#GridLayoutTests
                        [GridLayoutTest0001, GridLayoutTest0002, GridLayoutTest0003]

      JCK1.4a-runtime api/java_awt/interactive/GridLayoutTests.html#GridLayoutTests test fails on JDK1.4.0,
      JDK1.4.1, JDK1.4.2.

      GridLayout.setRows(int), GridLayout.setColumns(int), GridLayout.SetVgap(int), GridLayout.setHgap(int)
      methods do not work as expected if their integer parameters are big enough.

      Please do the following to see the failure:

      1. Run api/java_awt/interactive/GridLayoutTests.html#GridLayoutTests[GridLayoutTest0001]
      testcase on Solaris-Sparc:
          - Setting Rows to 2147483647 (max integer number) and Height to 4 has no visible effect.
          - After setting Rows to 2147483647 and Height to 1 the test hangs.
          - Setting Rows to 100 and Columns to 4 has no visible effect. If you maximize and then minimize
            tested frame, grid becomes correctly visible.

      2. Probably, this is a duplicate of a problem described in the bug 4788946:
          - in testcases GridLayoutTest0002 and GridLayoutTest0003 setting Hgap or Vgap to 2147483647 has
            no visible effect.
          - Setting Hgap to 1000 has no visible effect. If you minimize and then maximize tested frame,
            grid becomes correctly visible.

      Test source location:
      =====================
      /java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a/tests/api/java_awt/interactive/GridLayoutTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b09/jck14a/linux/suse8.0_gnome_server_linux-19/workDir/api-interactive/java_awt/interactive/GridLayoutTests_GridLayoutTests.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)

      --- script start ---
      #!/bin/bash
      JCK="/java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a"
      JDK="/net/jdk/export/disk8/local.java/jdk1.4/linux-i386"
      export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
      $JDK/bin/java $switches javasoft.sqe.tests.api.java.awt.interactive.GridLayoutTests -TestCaseID GridLayoutTest0001 GridLayoutTest0002 GridLayoutTest0003
      --- script end ---

      Specific machine info:
      ======================
      Hostname: linux-19
      OS: RedHat Linux 7.3 (GNOME)

      Hostname: Linux-22
      OS: Windows 2000

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

      Name: icR10030 Date: 12/11/2002


      One more testcase fails due to the bug:
      api/java_awt/interactive/GridBagLayoutTests.html#GridBagLayoutTests


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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dav Andrei Dmitriev (Inactive)
                Reporter:
                irasunw Ira Ira (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: