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

[lcms] ColorConvertOp to color space CS_GRAY apparently converts orange to 244,244,0

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b71
    • CPU:
      generic
    • OS:
      os_x

      Backports

        Description

        http://java.net/jira/browse/MACOSX_PORT-715 submitted 2011/11/17 by Yuri Nesterenko
        The java/awt/Graphics/Images/TestColorConvertOp.java regression test tries to convert an orange rectangle to CS_GRAY. On Apple Java 6 it gets 210,210,210 but on this port it's 244,244,0 which is rather yellow.
        Build: b217
        java/awt/Graphics/Images/TestColorConvertOp.java

          Activity

          Hide
          bae Andrew Brygin added a comment -
          BT2:EVALUATION

          This failure is caused by a bug in lcms gluecode, where we incorrectly interpret color components in case of buffered images with alpha channel.

          This problem is not macosx-specific and affects openjdk build for all platforms.
          It is not reproducible on 7u and other proprietary builds, where kcms is used
          instead of lcms. This problem is nor reproducible on macosx with latest builds
          b226, and b228.

          So, I am re-targeting this bug to jdk8. Simplified testcase is attached.
          Show
          bae Andrew Brygin added a comment - BT2:EVALUATION This failure is caused by a bug in lcms gluecode, where we incorrectly interpret color components in case of buffered images with alpha channel. This problem is not macosx-specific and affects openjdk build for all platforms. It is not reproducible on 7u and other proprietary builds, where kcms is used instead of lcms. This problem is nor reproducible on macosx with latest builds b226, and b228. So, I am re-targeting this bug to jdk8. Simplified testcase is attached.
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/2cf07dbdee64
          User: bae
          Date: 2012-12-24 10:06:07 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/2cf07dbdee64 User: bae Date: 2012-12-24 10:06:07 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/2cf07dbdee64
          User: lana
          Date: 2012-12-31 05:48:05 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/2cf07dbdee64 User: lana Date: 2012-12-31 05:48:05 +0000

            People

            • Assignee:
              bae Andrew Brygin
              Reporter:
              vasya Vassili Igouchkine (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: