8148454: [PIT] Failure of ReplaceMetadataTest on TIFF with IllegalStateException
Summary: Move super.setOutput() to end of setOutput() to avoid setting super.output to null
Reviewed-by: prr
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