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

Specification of ServiceRegistry.finalize() method is not clear

    XMLWordPrintable

Details

    • beta2
    • generic
    • generic

    Description



      Name: ipR10067 Date: 06/04/2001




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

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

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

      It isn't clear if the javax.imageio.spi.ServiceRegistry
      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 ServiceRegistry.finalize() overrides
      Object.finalize() then specification should describe
      the behavior of the overriding method explicitly.

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

      Attachments

        Issue Links

          Activity

            People

              dricesunw Daniel Rice (Inactive)
              ipsunw Ip Ip (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: