> 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>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26994/files
  - new: https://git.openjdk.org/jdk/pull/26994/files/a7f3aa28..83c4c62b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26994&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26994&range=01-02

  Stats: 2 lines in 1 file changed: 1 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

Reply via email to