On Wed, 27 Nov 2024 14:56:31 GMT, Alexander Zvegintsev <[email protected]> 
wrote:

> This exception also doesn't look directly related to the SM, so we may want 
> to keep it, as you did in `URLImageSource#getDecoder`.
> 
> Removing it changed the behavior, now we can instantiate `ImageConsumerQueue` 
> with a mismatched `ImageRepresentation` image source and 
> `InputStreamImageSource`, but we couldn't before.

Initially I did leave it, then I convinced myself to take it out. So I'm fine 
with putting it back. And leaving SE with a comment ..

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22398#discussion_r1861028789

Reply via email to