On Fri, 29 Aug 2025 19:19:22 GMT, Sergey Bylokhov <s...@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.iva...@oracle.com>

Marked as reviewed by aivanov (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/26994#pullrequestreview-3169818266

Reply via email to