RFR: 8366208: Unexpected exception in sun.java2d.cmm.lcms.LCMSImageLayout [v2]
Sergey Bylokhov
serb at openjdk.org
Fri Aug 29 06:53:29 UTC 2025
> 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 FilterSemiCustomImages.java
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26994/files
- new: https://git.openjdk.org/jdk/pull/26994/files/abf0ac30..a7f3aa28
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26994&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26994&range=00-01
Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/26994.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26994/head:pull/26994
PR: https://git.openjdk.org/jdk/pull/26994
More information about the client-libs-dev
mailing list