RFR: 8365198: Remove unnecessary mention of finalize in ImageIO reader/writer docs
Sergey Bylokhov
serb at openjdk.org
Fri Aug 15 17:12:12 UTC 2025
On Tue, 12 Aug 2025 20:46:03 GMT, Phil Race <prr at openjdk.org> wrote:
> Image I/O's ImageReader and ImageWriter have never had finalize() methods, yet have a gratuitous mention of finalize(). This should be removed. Simple doc only change
>
> CSR for review : https://bugs.openjdk.org/browse/JDK-8365410
src/java.desktop/share/classes/javax/imageio/ImageWriter.java line 2003:
> 2001: /**
> 2002: * Allows any resources held by this object to be released. The
> 2003: * result of calling any other method subsequent to a call to this method
"any other method" makes it sound like every method in the universe.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26753#discussion_r2279518567
More information about the client-libs-dev
mailing list