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

Phil Race prr at openjdk.org
Fri Aug 8 20:06:11 UTC 2025


On Fri, 8 Aug 2025 19:48:31 GMT, Brent Christian <bchristi 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();`

That just wraps an ArrayList<byte[]> 
I was planning on later removing the disposer from the MemoryCacheImageInputStream

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

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


More information about the client-libs-dev mailing list