Remove unnecessary mention of finalize in ImageIO reader/writer docs

XMLWordPrintable

    • Type: CSR
    • Resolution: Approved
    • Priority: P4
    • 26
    • Component/s: client-libs
    • None
    • minimal
    • Doc only change
    • Java API
    • SE

      Summary

      Remove mentions of finalize() from ImageReader and ImageWriter documentation.

      Problem

      javax.imageio.ImageReader and javax.imageio.ImageWriter have dispose() methods which mention finalize() even though these classes are not finalizable.

      Solution

      Remove the mentions of finalize()

      Specification

      javax.imageio.ImageReader

           /**
            * 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
      +     * result of calling any other method subsequent to a call to this method
            * is undefined.
      public void dispose()
      

      javax.imageio.ImageWriter

           /**
            * 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
      +     * result of calling any other method subsequent to a call to this method
            * is undefined.
      public void dispose()
      

            Assignee:
            Philip Race
            Reporter:
            Philip Race
            Alexander Zvegintsev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: