RFR: 8277585: Remove the terminally deprecated finalize() method from javax.imageio.stream APIs [v3]

Brent Christian bchristi at openjdk.org
Fri Aug 8 19:51:10 UTC 2025


On Fri, 8 Aug 2025 19:39:52 GMT, Phil Race <prr at openjdk.org> wrote:

> > Can `MemoryCacheImageOutputStream` be included in this PR?
> 
> Why ? It has nothing to dispose.

Doesn't it have a `cache`, similar to `MemoryCacheImageInputStream` ?

`public class MemoryCacheImageOutputStream extends ImageOutputStreamImpl {`
`    ....`
`    private MemoryCache cache = new MemoryCache();`

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

PR Comment: https://git.openjdk.org/jdk/pull/26650#issuecomment-3169122275


More information about the client-libs-dev mailing list