[OpenJDK 2D-Dev] OpenJDK 2D-Dev]  RFR JDK-8154058: [TIFF] ignoreMetadata parameter of TIFFImageReader's setInput() method affects TIFFImageReadParam in non-obvious way
brian.burkhalter at oracle.com
Tue Dec 13 20:14:52 UTC 2016
Here’s the link to the most recent patch:
Sorry for the omission.
On Dec 13, 2016, at 12:09 PM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:
> This should be the final patch. The actual implementation code is unchanged from webrev.01, which was approved in terms of the spec change, which has also now been approved by the CCC. This patch differs from webrev.02 only in terms of renaming ReadParamTest to ReadUnknownTagsTest, and changing the ignoreMetadata settings in MultiPageImageTIFFFieldTest and TIFFImageReadParamTest from true to false. These latter two changes are needed as previously non-essential fields in recognized tag sets were read even if ignoreMetadata was true, which is now not the case.
> On Dec 8, 2016, at 5:43 PM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:
>> 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.
>>> On 12/07/2016 01:07 PM, Brian Burkhalter wrote:
>>>> Reprising thread .
>>>> 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.
>>>>  http://mail.openjdk.java.net/pipermail/2d-dev/2016-August/007449.html
More information about the 2d-dev