-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta3
-
generic
-
generic
Name: dkR10031 Date: 05/26/2001
Description of the following methods from the class
javax.imageio.metadata.IIOMetadataNode is incomplete:
Node getPreviousSibling()
Node getNextSibling()
Node getFirstChild()
Node getLastChild()
The specification (JDK 1.4.0beta, build b65) does not describe what is
the legal behavior of the methods when requested node does not exist.
For instance, what is the legal behavior of the getFirstChild() method
when "this" node does not have childs at all.
According to the implementation, in all these cases null is returned.
I think this should be specified explicitly.
======================================================================