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

Unexpected exception in sun.java2d.cmm.lcms.LCMSImageLayout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 17, 21, 25
    • client-libs
    • None
    • 2d
    • generic
    • generic

      The LCMSImageLayout class performs several direct casts without instanceof checks, which may fail under certain circumstances.
      Example:
                  case BufferedImage.TYPE_USHORT_GRAY -> {
                      var shortRaster = (ShortComponentRaster) image.getRaster();

            serb Sergey Bylokhov
            serb Sergey Bylokhov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: