Implementation of cmsFLAGS_COPY_ALPHA in littlecms 2.16 is changed to throw an 
exception:
 - if the number of extra channels in src and dst are different.
 - If dst does not have an alpha but src has
 - If src does not have an alpha but dst has

Exception does not occurred if the number of extra channels are the same(even 
if both are zero)

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

Commit messages:
 - Update ColCvtAlphaDifferentSrcDst.java
 - 8323210: Update the usage of cmsFLAGS_COPY_ALPHA

Changes: https://git.openjdk.org/jdk/pull/17320/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17320&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8323210
  Stats: 8 lines in 2 files changed: 5 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/17320.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17320/head:pull/17320

PR: https://git.openjdk.org/jdk/pull/17320

Reply via email to