Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8365198

Remove unnecessary mention of finalize in ImageIO reader/writer docs

XMLWordPrintable

      ImageReader.dispose() and ImageWriter.dispose() both have a doc comment as follows
        /**
           * Allows any resources held by this object to be released. The
           * result of calling any other method (other than
           * {@code finalize}) subsequent to a call to this method
           * is undefined.

      Neither of these classes has ever had a finalize() method, so this comment seems unnecessary and confusing.

      Remove it.

            prr Philip Race
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: