-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta2
-
generic
-
generic
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.
======================================================================
- relates to
-
JDK-4464895 Specification of ImageInputStreamImpl.finalize() method is not clear
-
- Closed
-