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

JCK1.4a-runtime api/java_awt/interactive/GraphicsTests.html#GraphicsTests fails

    Details

    • Subcomponent:
      2d
    • CPU:
      x86
    • OS:
      linux, windows_xp

      Description

      Name: iaR10016 Date: 05/06/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b22, JDK1.5.0-b05, JDK1.4.1
      JCK : JCK1.4a-runtime
      Platform[s] : all
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]: api/java_awt/interactive/GraphicsTests.html#GraphicsTests [GraphicsTest0001]

      It seems like nethods Graphics.fillPolygon(int[], int[], int),
      Graphics.fillRoundRect(int, int, int, int, int, int), Graphics.drawRoundRect(int, int, int, int, int, int)
      works incorrectly with big numbers.

      Please, run the script below and do the following steps to reprodyce the failure:

      1. set tested Width and Height for Clip area to "2147483647" (max integer number) and click "Apply" button

      2. Select "RoundRect" in "Area" choice list, set (for example) Height to 2000000 and click "Apply".
          RoundRect does not look as expected.

      3. Click "Fill" and then click "Apply".
          Filled RoundRect does not look as expected.

      4. Select "Poligon" in "Area" choice list, set (for example) X3 to "2000000" and click "Apply".
          Poligon looks as expected.
          Click "Fill" and then click "Apply".
          Filled poligon does not look as expected.

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

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b22/jck14a/linux/redhat8.0_gnomens4.7_linux-13/workDir/api-interactive/java_awt/interactive/GraphicsTests_GraphicsTests.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change it's variables)
      --- script start ---
      #!/bin/bash
      JCK="/java/re/jck/1.4a/archive/fcs/binaries/JCK-runtime-14a"
      JDK="/java/re/jdk/1.5.0/promoted/latest/binaries/linux-i586"
      export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
      $JDK/bin/java javasoft.sqe.tests.api.java.awt.interactive.GraphicsTests -TestCaseID GraphicsTest0001 -TestDirURL file:$JCK/tests/api/java_awt/interactive/GraphicsTests.html
      --- script end ---

      Specific machine info:
      ======================
      Hostname: linux-13
      OS: RedHat Linux 8.0

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                avu Alexey Ushakov
                Reporter:
                irasunw Ira Ira (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: