[OpenJDK 2D-Dev] OpenJDK 2D-Dev] [9] RFR JDK-8154058: [TIFF] ignoreMetadata parameter of TIFFImageReader's setInput() method affects TIFFImageReadParam in non-obvious way

Brian Burkhalter brian.burkhalter at oracle.com
Fri Dec 9 01:43:07 UTC 2016

Here is an updated patch


which differs from the previous one only in terms of the test which has been updated to verify that:

1) essential metadata are not affected by the settings of ignoreMetadata and readUnknownTags;
2) non-essential metadata with a recognized tag are suppressed by ignoreMetadata == true, but when ignoreMetadata == false are unaffected by the setting of readUnknownTags;
3) metadata with an unrecognized tag are read if and only if ignoreMetadata == false and readUnknownTags == true.



On Dec 8, 2016, at 1:43 PM, Phil Race <philip.race at oracle.com> wrote:

> I think that spec. looks good so you can at least proceed with the CCC.
> -phil.
> On 12/07/2016 01:07 PM, Brian Burkhalter wrote:
>> Reprising thread [1].
>> Issue:	http://mail.openjdk.java.net/pipermail/2d-dev/2016-August/007449.html
>> Patch:	http://cr.openjdk.java.net/~bpb/8154058/webrev.01/
>> Doc:		http://cr.openjdk.java.net/~bpb/8154058/tiff_metadata.html#MetadataIssuesRead
>> Note that this is a preliminary version as an improved test will be needed. A CCC review will be in order however so it would be best to get far enough to submit a request.
>> Thanks,
>> Brian
>> [1] http://mail.openjdk.java.net/pipermail/2d-dev/2016-August/007449.html

More information about the 2d-dev mailing list