RFR: 8345073: Remove SecurityManager checks from sun.awt.image classes [v2]
Phil Race
prr at openjdk.org
Wed Nov 27 17:26:25 UTC 2024
On Wed, 27 Nov 2024 14:56:31 GMT, Alexander Zvegintsev <azvegint at openjdk.org> 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
More information about the client-libs-dev
mailing list