--- old/src/share/classes/javax/imageio/metadata/IIOMetadataNode.java 2014-08-12 13:34:53.000000000 -0700 +++ new/src/share/classes/javax/imageio/metadata/IIOMetadataNode.java 2014-08-12 13:34:53.000000000 -0700 @@ -305,6 +305,9 @@ /** * Check that the node is either null or an * IIOMetadataNode. + * + * @throws DOMException if {@code node} is not {@code null} and not an + * instance of {@code IIOMetadataNode} */ private void checkNode(Node node) throws DOMException { if (node == null) {