History log of /openjdk9/jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/TIFFField.java
Revision Date Author Comments
# 17110:207f458f39cb 06-May-2017 serb

8179596: Update java.desktop to be HTML-5 friendly
Reviewed-by: prr, amenkov


# 16615:89cafca458bf 26-Jan-2017 jdv

8152561: Is it allowed to have zero value for count in TIFFField.createArrayForType() for the rationals
Reviewed-by: psadhukhan, bpb, prr


# 16328:dc658d7dde90 09-Dec-2016 bpb

8169728: Missing sign checks in TIFFField(TIFFTag tag, int type, int count, Object data) for TIFFTag.TIFF_LONG
Summary: Add further checks for TIFF_LONG, TIFF_RATIONAL, TIFF_SRATIONAL, and TIFF_IFD_POINTER.
Reviewed-by: prr


# 16327:eca374b7abf3 09-Dec-2016 bpb

8169725: cannot use TIFFField(TIFFTag tag, int value) for TIFF_LONG values greater than Integer.MAX_VALUE
Summary: Change constructor TIFFField(TIFFTag,int) to TIFFField(TIFFTag,long).
Reviewed-by: jdv, prr


# 16004:807349334f32 27-Oct-2016 bpb

8165981: Consider making some classes in javax.imageio.plugins.tiff final
Summary: Make the classes TIFFField and TIFFImageReadParam final.
Reviewed-by: serb, prr


# 15528:4ae7185436e5 24-Aug-2016 bpb

8149562: TIFFField#createFromMetadataNode javadoc should provide information about sibling/child nodes that should be part of parameter node
Summary: 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


# 15242:287e559361ae 22-Jul-2016 bpb

8149016: Misleading IllegalArgumentException message when a type that is neither LONG nor IFD pointer is supplied to TIFFField constructor
Summary: Replace invocation of this() constructor with explicit checks and initializations
Reviewed-by: prr


# 14794:d13dfaa08ba6 25-May-2016 bpb

8149815: Misleading TIFFField#getAsNativeNode spec about native node name "TIFFIFD"
Summary: Change the specification verbiage of TIFFField.getAsNativeNode() to reflect the actual behavior.
Reviewed-by: prr


# 14520:79e1491172d8 04-May-2016 bpb

8149816: TIFFField#getValueAsString result is unexpected for RATIONAL and SRATIONAL types (when modulo is 0)
Summary: Add more precision to the specification verbiage of getValueAsString().
Reviewed-by: prr


# 14517:2181e47fdafb 03-May-2016 bpb

8149560: TIFFField#createFromMetadataNode throws a NullPointerException when the node is set with "tagNumber" attribute
Summary: In the specification of createFromMetadataNode() change "tagNumber" to "number" and add two throws clauses which match the behavior.
Reviewed-by: prr


# 14513:317292ee864e 29-Apr-2016 bpb

8149810: TIFFField#getAsLong throws ClassCastException when data is type TIFFTag.TIFF_DOUBLE or TIFFTag.FLOAT
Summary: Expand the getAsLong() specification and handle the TIFF_DOUBLE and TIFF_FLOAT cases.
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


# 13870:bf20dd25a7ac 10-Feb-2016 bpb

8149120: TIFFField constructor throws ArrayIndexOutOfBoundsException and IllegalArgumentException for scenarios explained in description
Summary: Clean up parameter checking in TIFFField.
Reviewed-by: prr


# 13532:859397229dc4 20-Jan-2016 iris

8136494: Update "@since 1.9" to "@since 9" to match java.version.specification
Reviewed-by: alanb, chegar, lancea, prr


# 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