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

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

    XMLWordPrintable

Details

    • Fix Understood
    • x86, sparc, itanium
    • linux, solaris_8

    Description



      Name: iaR10016 Date: 12/10/2002


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b09
      JCK : JCK1.4a-runtime
      Platform[s] : SuSe 8.0, RedHat Linux 7.3, Solaris Sparc, Windows 98
                       (the test passes on Windows 2000)
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling tests : api/java_awt/interactive/RobotTests.html#RobotTests [RobotTest0002]

      JCK1.4a-runtime api/java_awt/interactive/RobotTests.html#RobotTests test fails on
      JDK1.4.0, JDK1.4.1, JDK1.4.2: method Robot.createScreenCapture(Rectangle screenRect)
      works incorrectly if rectangle coordinates are big enough.

      Please, run api/java_awt/interactive/RobotTests.html#RobotTests [RobotTest0002] testcase
      to reproduce the failure. Set X/Y coordinates to 2147483647 (max integer number) or
      -2147483648 (min integer value) and press "Start createScreenCapture" button. It has the
      same effect as creating screen capture with 0/0 coordinates.

      Test source location:
      =====================
      /java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a/tests/api/java_awt/interactive/RobotTests.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/RobotTests_RobotTests.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 javasoft.sqe.tests.api.java.awt.interactive.RobotTests -platform.robotAvailable True -TestCaseID RobotTest0002
      --- script end ---

      Specific machine info:
      ======================
      Hostname: linux-19
      OS: SuSe 8.0 (GNOME)

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

      Attachments

        Activity

          People

            denis Denis Fokin (Inactive)
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Imported:
              Indexed: