RFR: 8365197: javax.imageio.stream MemoryCache based streams no longer need a disposer.

Sergey Bylokhov serb at openjdk.org
Mon Aug 25 20:43:34 UTC 2025


On Mon, 25 Aug 2025 20:18:49 GMT, Phil Race <prr at openjdk.org> wrote:

> The disposer for MemoryCacheImageInputStream isn't needed. All it does is clear an ArrayList of byte[]
> GC can take care of that.

may be there are some hints in the history that suggest why it was initially added? or it might simply have been an overlooked misuse of the disposer?

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

PR Comment: https://git.openjdk.org/jdk/pull/26933#issuecomment-3221681745


More information about the client-libs-dev mailing list