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

Specification of ImageInputStreamImpl.finalize() method is not clear

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description



      Name: vpR10011 Date: 06/01/2001



      Description of the javax.imageio.stream.ImageInputStreamImpl.finalize()
      was copied from class java.lang.Object.

      But there is no "throws" part in the signature of
      ImageInputStreamImpl.finalize().

      Moreover, the description of the ImageInputStreamImpl.finalize()
      contains additional section:
      "Overrides:
              finalize in class Object
              Following copied from class: java.lang.Object"

      It isn't clear if the javax.imageio.stream.ImageInputStreamImpl
      overrides Object.finalize() method as the description says.
      Or it inherits the finalize() method from the class Object because
      descriptions of these methods are the same.

      In my opinion if ImageInputStreamImpl.finalize() overrides
      Object.finalize() then specification should describe
      the behavior of the overriding method explicitly.



      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dricesunw Daniel Rice (Inactive)
              Reporter:
              verapsunw Verap Verap (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: