[OpenJDK 2D-Dev] RFR: 8149560: TIFFField#createFromMetadataNode throws a NullPointerException when the node is set with "tagNumber" attribute

Brian Burkhalter brian.burkhalter at oracle.com
Fri Apr 29 17:50:48 UTC 2016

Please review at your convenience:

Issue:	https://bugs.openjdk.java.net/browse/JDK-8149560
Patch:	http://cr.openjdk.java.net/~bpb/8149560/webrev.00/

1) Change the specification of createFromMetadataNode() to change the tag number attribute name from “tagNumber” to “number” in accord with the javax_imageio_tiff_image_1.0 native image metadata format specification.
2) Add a couple of @throws clauses to clarify exceptions which might ensure from a bad node parameter’s being passed in to createFromMetadataNode().



More information about the 2d-dev mailing list