History log of /openjdk10/jdk/src/java.desktop/share/classes/com/sun/imageio/plugins/tiff/TIFFIFD.java
Revision Date Author Comments
# 16579:c17354987c3c 20-Jan-2017 bpb

8154228: [TIFF] IIOException: "Insufficient data offsets or byte counts" when loading test image
Summary: If byte counts are not provided attempt to compute them if feasible.
Reviewed-by: prr


# 16334:96d44ff3c70f 13-Dec-2016 bpb

8154058: [TIFF] ignoreMetadata parameter of TIFFImageReader's setInput() method affects TIFFImageReadParam in non-obvious way
Summary: Add readUnknownTags to TIFFImageReadParam and add ReadParamTest
Reviewed-by: prr


# 16106:f33189fbe5f4 02-Nov-2016 bpb

8164750: TIFF reading fails when ignoring metadata with BaselineTIFFTagSet removed
Summary: Disallow not adding to metadata fields which are critical to reading the image data even when the BaselineTIFFTagSet has been removed from the TIFFImageReadParam and the ignoreMetadata flag is set.
Reviewed-by: prr


# 15407:6a66fb22095a 12-Aug-2016 bpb

8152966: ClassCastException when adding IFD to the TIFFDirectory before the image write
Summary: Move the private method getDirectoryAsIFD(TIFFDirectory) from the API class TIFFDirectory to a public method in the internal class TIFFIFD and replace all casts of TIFFDirectory to TIFFIFD with its invocation
Reviewed-by: prr


# 13873:b48e7e3d4732 11-Feb-2016 bpb

8149593: Change <code>foo</code> to {@code foo} in TIFF plugin classes
Summary: Change <code>foo</code> to {@code foo} in TIFF plugin classes and 2015 to 2016 where needed.
Reviewed-by: prr, darcy


# 13622:7e9a5a26088c 04-Jan-2016 bpb

8145113: OutOfMemoryError when reading a 17KB corrupted TIFF image
Summary: Add checks on size of field count and size of field data and consistency of data offsets and byte counts.
Reviewed-by: prr


# 13388:37697c44c8f8 11-Dec-2015 bpb

8144997: "IIOException: Field data is past end-of-stream" when calling TIFFImageReader.read()
Summary: Instead of failing for an IFD entry with bad type or offset, continue with the next entry.
Reviewed-by: prr


# 13387:e11161168aab 11-Dec-2015 bpb

8144245: [PIT] javax/imageio/plugins/shared/WriteAfterAbort.java
Summary: Reset stream position after abort; change IAEs to NPEs.
Reviewed-by: prr, serb


# 13242:07ae3247e988 23-Nov-2015 bpb

8143342: Integrate Java Image I/O support for TIFF per JEP 262
Summary: Port TIFF reader and writer plugins from JAI Image I/O Tools to JDK 9
Reviewed-by: prr, serb