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

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

XMLWordPrintable

    • 2d
    • Fix Understood
    • x86
    • windows_xp

      Name: iaR10016 Date: 04/30/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b21, JDK1.5.0-b05, JDK1.4.1, JDK1.4.0
      JCK : JCK1.4a-runtime
      Platform[s] : Windows XP Home, Windows 2000 Pro, Windows 98
                        (not reproducible on Solaris sparc, Solaris intel, Linux systems)
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]: api/java_awt/interactive/GraphicsTests.html#GraphicsTests [GraphicsTest0001]

      Methods of java.awt.graphics do not work as expected on Windows systems when their parameters
      are big enougth.

      The bug is not reproducible on my Solaris and Linux systems.

      Please, run the script below and play with tested area parameters to reproduce failure, for example:

      1. Select "SetClip" in "Area:" choice list, set clip's Width and Height to 2147483647 (maximum integer number)
          and click "Apply" button.
      2. Select "3DRect" in "Area:" choice list, set rectangle's width to 2147483647 and click"Apply". 3D rectangle
          does not look as expected.

      The same effect is observed with Line, Poligon, Polyline, Rect and RoundRect figures.

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

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b21/jck14a/win32/winXP_HE_atch_smp_linux-21/workDir/api-interactive/java_awt/interactive/GraphicsTests_GraphicsTests.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)
      --- script start ---
      #!/bin/bash
      JCK="h:/java/jck1.4a/JCK-runtime-14a"
      JDK="h:/java/jdk1.4.2/win32"
      export CLASSPATH="$JCK/classes;$JCK/lib/javatest.jar"
      $JDK/bin/java javasoft.sqe.tests.api.java.awt.interactive.GraphicsTests -TestCaseID GraphicsTest0001
      --- script end ---

      Specific machine info:
      ======================
      Hostname: linux-21
      OS: Windows XP Home

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

            Unassigned Unassigned
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: