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

cmm test failures with OpenJDK

XMLWordPrintable

    • 2d
    • generic
    • generic

        When running on openjdk=true builds, but not production builds, the following three color management tests consistently fail:

        sun/java2d/cmm/ColorConvertOp/ColConvCCMTest.java
        Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: java.lang.RuntimeException: Invalid result of the ColorConvertOp for ColorSpace:CS_LINEAR_RGB Data type:TYPE_BYTE. Golden image:BufferedImage@5f8172: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@2ba11b transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 256 height = 256 #numDataElements 3 dataOff[0] = 2

        sun/java2d/cmm/ColorConvertOp/ColConvDCMTest.java
        Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: java.lang.RuntimeException: Invalid result of the ColorConvertOp for ColorSpace:CS_LINEAR_RGB Image type:TYPE_INT_ARGB. Golden image:LRGB.png

        sun/java2d/cmm/ColorConvertOp/MTColConvTest.java
        Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: java.lang.RuntimeException: Invalid result of the ColorConvertOp for ColorSpace:CS_LINEAR_RGB Image type:TYPE_INT_ARGB. Golden image:LRGB.png

        Presumably these failures are due to the use of Little cms rather than the Kodak cms.
        The tests may be too strict or the little cms conversion may be too inaccurate.

              bae Andrew Brygin
              darcy Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: