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

ColorConvertOp - typo for non-ICC conversions needs one-line fix

    XMLWordPrintable

Details

    • 2d
    • b06
    • generic
    • generic

    Description

      A DESCRIPTION OF THE PROBLEM :
      There is a very simple typo in java/awt/image/ColorConvertOp.java - which has been there since - probably - forever, but at least Java 8. Line 288 has

         color = srcColorSpace.fromCIEXYZ(dstColor);

      it should be

         color = dstColorSpace.fromCIEXYZ(dstColor);

      This is immediately obvious if you look at it, and is such a simple fix. Clearly the conversion will currently be at best incorrect, but will most-likely crash.


      FREQUENCY : always


      Attachments

        Issue Links

          Activity

            People

              rkannathpari Renjith Kannath Pariyangad
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: