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

Java silently exits on some java.awt.Color operations with CIEXYZ color space on Win2003 itanium

    Details

    • Subcomponent:
      2d
    • Introduced In Version:
    • CPU:
      itanium
    • OS:
      windows_2003

      Description

      JCK : JCK14a
      J2SE : FAIL - 1.4.2 since fcs
      Platform[s] : FAIL - windows 2003 on itanium
      switch/Mode : FAIL - all

      17 jck tests fail because java silently exits with code 128 while performing some CIEXYZ-related operations.

      The list of tests is:


      api/java_awt/Color/index.html#ctor4
      api/java_awt/Color/index.html#getColorComponents
      api/java_awt/Color/index.html#getColorSpace
      api/java_awt/Color/index.html#getComponents
      api/java_awt/java2d/awt/Color/index.html#GetColorComponentsTesttestCase1
      api/java_awt/java2d/awt/Color/index.html#GetColorComponentsTesttestCase3
      api/java_awt/java2d/awt/Color/index.html#GetComponentsTesttestCase1
      api/java_awt/java2d/awt/Color/index.html#GetComponentsTesttestCase5
      api/java_awt/java2d/color/ICC_ColorSpace/index.html#FromTesttestCase1
      api/java_awt/java2d/color/ICC_ColorSpace/index.html#FromTesttestCase2
      api/java_awt/java2d/color/ICC_ColorSpace/index.html#FromTesttestCase3
      api/java_awt/java2d/color/ICC_ColorSpace/index.html#FromTesttestCase4
      api/java_awt/java2d/color/ICC_ColorSpace/index.html#FromTesttestCase5
      api/java_awt/java2d/color/ICC_ColorSpace/index.html#FromTesttestCase6
      api/java_awt/java2d/color/ICC_ColorSpace/index.html#ToTesttestCase1
      api/java_awt/java2d/color/ICC_ColorSpace/index.html#ToTesttestCase3
      api/java_awt/java2d/color/ICC_ColorSpace/index.html#ToTesttestCase4


      Steps to reproduce:

      these two examples of code do not write "Created" to console on windows2003-itanium:

      import java.awt.*;
      import java.awt.color.ColorSpace;

      public class Test1 {

          public static void main(String argv[]) {

              float[] components = {0.43f, 0.28f, 0.78f};
              ColorSpace cspace = ColorSpace.getInstance(ColorSpace.CS_CIEXYZ);
      System.out.println("Creating new Color...");
              Color c = new Color(cspace, components, 0.55f);
      System.out.println("Created");
          }
      }




      import java.awt.*;
      import java.awt.color.ColorSpace;
      import java.awt.color.ICC_ColorSpace;
      import java.awt.color.ICC_ProfileRGB;


      public class Test2 {

          public static void main(String argv[]) {

              String apiTested = "ICC_ColorSpace.toCIEXYZ(float[]): ";
              String msg = apiTested;
              byte[] array = new byte[256];
              for(int i = 0;i < 256;i++) array[i] = (byte)i;
              ICC_ColorSpace cs = (ICC_ColorSpace)ICC_ColorSpace.getInstance(ICC_ColorSpace.CS_sRGB);
              float[] ciexyz = {10.0f, 25.0f, 11.0f};

      System.out.println("Converting...");
              float[] returned = cs.toCIEXYZ(ciexyz);
      System.out.println("Created");
          }
      }

        Attachments

          Activity

            People

            • Assignee:
              coffeys Sean Coffey
              Reporter:
              pastepan Pavel Stepanov (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: