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

JCK:api/java_awt/Polygon/index.html#Ctor

XMLWordPrintable

    • 2d
    • beta
    • generic
    • generic
    • Verified

      JDK : Pass:1.5.0_u1-b05,1.6.0-b09
                       Fail:1.6.0-b10
      JCK : jck1.5
      Platform[s] : ALL
      switch/Mode : ALL[headless also]
      JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto

      Failing Tests :
      ==================
      api/java_awt/Polygon/index.html#Ctor : Polygon constructor tests

      Test source location:
      =====================
      /net/jtgb4u4c.sfbay/export/sail1/testarea/jck1.5.b28/JCK-runtime-15/tests/api/java_awt/Polygon/CtorTests.java

      jtr file location:
      ==================

      Attached

      How to reproduce:
      ====================

      ---------------Script START-----------------
      #!/bin/sh

      #Paths
      JDK="/net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b10/binaries/solaris-sparcv9"
      #JDK="/net/koori.sfbay/p/jdk01/jdk/1.5.0_01/fcs/b05/binaries/solaris-sparcv9"

      JCK="/net/jtgb4u4c.sfbay/export/sail1/testarea/jck1.5.b28/JCK-runtime-15"

      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"

      TEST="javasoft.sqe.tests.api.java.awt.Polygon.CtorTests -TestCaseID ALL"

      #echo `cat $JCK/build.txt | grep JCK_VERSION` `cat $JCK/build.txt | grep JCK_BUILD`

      #$JDK/bin/java -showversion -cp $CLASSPATH $TEST
      $JDK/bin/java -cp $CLASSPATH $TEST
      #$JDK/bin/java -Djava.awt.headless=true -cp $CLASSPATH $TEST
      ---------------Script END-------------------

      Test output:
      =============
      Solaris10(sparc,sparcv9,x86),SUSE8&9,RH AS3.0 and Windows[Headless also]:
      java.lang.ArrayIndexOutOfBoundsException
      at java.lang.System.arraycopy(Native Method)
      at java.awt.Polygon.<init>(Polygon.java:151)
      at javasoft.sqe.tests.api.java.awt.Polygon.CtorTests.Polygon1001(CtorTests.java:108)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.java.awt.Polygon.CtorTests.main(CtorTests.java:27)
      Polygon1001: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException

      java.lang.ArrayIndexOutOfBoundsException
      at java.lang.System.arraycopy(Native Method)
      at java.awt.Polygon.<init>(Polygon.java:151)
      at javasoft.sqe.tests.api.java.awt.Polygon.CtorTests.Polygon0003(CtorTests.java:131)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.java.awt.Polygon.CtorTests.main(CtorTests.java:27)
      Polygon0003: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException
      java.lang.ArrayIndexOutOfBoundsException
      at java.lang.System.arraycopy(Native Method)
      at java.awt.Polygon.<init>(Polygon.java:151)
      at javasoft.sqe.tests.api.java.awt.Polygon.CtorTests.Polygon1002(CtorTests.java:154)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.java.awt.Polygon.CtorTests.main(CtorTests.java:27)
      Polygon1002: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException

      STATUS:Failed.test cases: 12; passed: 9; failed: 3; first test case failure: Polygon1001

      Specific Machine Info:
      =====================
      Solaris
      hostname:jtg-s119(headless)
      # uname -a
      SunOS jtg-s119 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60

      Linux[sles8 AMD]:
      applebee:~ # uname -a
      Linux applebee 2.4.19 #1 Mon Mar 31 23:47:50 UTC 2003 x86_64 unknown

      RedHat
      [root@bela root]# uname -a
      Linux bela 2.4.21-19.ELsmp #1 SMP Thu Aug 12 23:22:47 EDT 2004 x86_64 x86_64 x86_64 GNU/Linux

      WIndows:
      Hostname : Opteron001[amd]
      Windows_NT OPTERON001 5 02 8664
      ###@###.### 11/5/04 00:47 GMT

            avu Alexey Ushakov
            rdannapa Rajesh Dannapaneni (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: