4 Commits

Author SHA1 Message Date
Brian Burkhalter
42edb006ef 8169728: Missing sign checks in TIFFField(TIFFTag tag, int type, int count, Object data) for TIFFTag.TIFF_LONG
Add further checks for TIFF_LONG, TIFF_RATIONAL, TIFF_SRATIONAL, and TIFF_IFD_POINTER.

Reviewed-by: prr
2016-12-09 13:48:06 -08:00
Brian Burkhalter
12d7914077 8169725: cannot use TIFFField(TIFFTag tag, int value) for TIFF_LONG values greater than Integer.MAX_VALUE
Change constructor TIFFField(TIFFTag,int) to TIFFField(TIFFTag,long).

Reviewed-by: jdv, prr
2016-12-09 11:08:38 -08:00
Brian Burkhalter
60eccdede5 8149562: TIFFField#createFromMetadataNode javadoc should provide information about sibling/child nodes that should be part of parameter node
Add a throws clause to the TIFFField.createFromMetadataNode method specification stating that the supplied Node parameter must adhere to the TIFFField element structure defined by the TIFF native image metadata DTD.

Reviewed-by: prr, darcy, serb
2016-08-24 10:59:17 -07:00
Alexander Stepanov
540242ecef 8152183: [TEST] add test for TIFFField
Reviewed-by: prr, yan
2016-04-08 12:56:28 +03:00