Please review at your convenience.
Issue: https://bugs.openjdk.java.net/browse/JDK-8149016
Patch: http://cr.openjdk.java.net/~bpb/8149016/webrev.00/
The problem is that the constructor
TIFFField(TIFFTag tag, int type, long offset, TIFFDirectory dir) {}
begins with an invocation of the constructor
TIFFField(TIFFTag tag, int type, int count, Object data) {}
which performs some checks not documented for the former constructor nor for
that matter necessary. The fix is to change the former constructor to perform
directly the actions for which it was previously relying on the latter
constructor.
As an aside, some " ” HTML entities were removed from “{@code}” tags
wherein they are not interpreted during javadoc generation.
Thanks,
Brian