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

Phil Race philip.race at oracle.com
Fri Apr 29 17:52:41 UTC 2016



On 04/29/2016 10:50 AM, Brian Burkhalter wrote:
> Please review at your convenience:
> Issue:	https://bugs.openjdk.java.net/browse/JDK-8149560
> Patch:	http://cr.openjdk.java.net/~bpb/8149560/webrev.00/
> Summary:
> 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().
> Thanks,
> Brian

More information about the 2d-dev mailing list