RFR: 8366208: Unexpected exception in sun.java2d.cmm.lcms.LCMSImageLayout [v3]
Alexey Ivanov
aivanov at openjdk.org
Fri Aug 29 19:23:42 UTC 2025
On Fri, 29 Aug 2025 19:19:22 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> We have a few places in the cmm code where the fast-code-path assumes that standard buffered images with type such as TYPE_INT_ARGB_PRE use our private raster implementation such as IntegerComponentRaster, which is not necessarily true. Casting to these private raster types can result in a ClassCastException.
>>
>> The patch will detect such custom images and fall back to the slow path for conversion.
>
> Sergey Bylokhov has updated the pull request incrementally with one additional commit since the last revision:
>
> Update test/jdk/sun/java2d/cmm/ColorConvertOp/FilterSemiCustomImages.java
>
> Co-authored-by: Alexey Ivanov <alexey.ivanov at oracle.com>
Marked as reviewed by aivanov (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/26994#pullrequestreview-3169818266
More information about the client-libs-dev
mailing list