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

JCK14a api.java_awt.Color.ICC* tests throw exception for j2sdk1.4.2_10 build02

    Details

    • Subcomponent:
      2d
    • CPU:
      generic
    • OS:
      generic

      Description

      JAVA VERSION
      ------------
      java version "1.4.2_10" (build 1.4.2_10-b02)

      OS TESTED
      ---------
      Win XPHome SP2
      Solaris Sparc 8, 10

      The following failures are JCK regressions from 142_10b1 to b2
      ------------------------------------------------------------
      api/java_awt/Color/ICC_ColorSpace/serial/index.html#Constructor
      api/java_awt/Color/ICC_Profile/serial/index.html#Input
      api/java_awt/Color/ICC_ProfileGray/serial/index.html#Input
      api/java_awt/Color/ICC_ProfileRGB/serial/index.html#Input

      To reproduce: Use attached script ICC_ColorFail.sh
      OR, for your convenience remote host UR test machine:

      hostname: sb2500-1.ireland
      login:
      password:

      #cd /export/home/JQA/ts142/JCK/142_10b2
      #sh ICC_ColorFail

      There are two JDK PATH's in this script to 142_10b1 and b2 for your convenience.
       
      Result of run ICC_ColorFail.sh

      bash-3.00# sh ICC_ColorFail
      java version "1.4.2_10"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b02)
      Java HotSpot(TM) Client VM (build 1.4.2_10-b02, mixed mode)

      java.lang.IllegalArgumentException: Invalid field: java.awt.color.ICC_Profile thisProfile
      at javasoft.sqe.serial.StreamObject.getObjectField(StreamObject.java:556)
      at javasoft.sqe.tests.api.java.awt.Color.ICC_ColorSpace.serial.ConstructorTests.serial2001(ConstructorTests.java:89)
      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:324)
      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.Color.ICC_ColorSpace.serial.ConstructorTests.main(ConstructorTests.java:30)
      serial2001: Failed. Test case throws exception: java.lang.IllegalArgumentException: Invalid field: java.awt.color.ICC_Profile thisProfile
      Creating StreamObject from Object
      Checking for JDK Version : 1.2
      Creating spec class.
      STATUS:Failed.test cases: 1; all failed; first test case failure: serial2001
      ------------------------------------------------------------------------------
      java version "1.4.2_10-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-ea-b01)
      Java HotSpot(TM) Client VM (build 1.4.2_10-ea-b01, mixed mode)

      serial2001: Passed. OKAY
      Creating StreamObject from Object
      Checking for JDK Version : 1.2
      Creating spec class.
      Verifying the constraints on the serial fields
      Checking for JDK Version : 1.21
      Creating spec class.
      Verifying the constraints on the serial fields
      Checking for JDK Version : 1.22
      Creating spec class.
      Verifying the constraints on the serial fields
      Checking for JDK Version : 1.3
      Creating spec class.
      Verifying the constraints on the serial fields
      Checking for JDK Version : 1.4
      Creating spec class.
      Verifying the constraints on the serial fields
      serial2001 passed.
      STATUS:Passed.test cases: 1; all passed

      Using up-to-date exclude file "jdk14a.jtx" /net/carlow.ireland/export/home4/jck/exclude-files/jdk14a.jtx

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                coffeys Sean Coffey
                Reporter:
                amckeownsunw Annemarie Mckeown (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: