OK I have updated the test accordingly:

http://cr.openjdk.java.net/~bpb/8149562/webrev.02/
 458         try {
 459             TIFFField.createFromMetadataNode(ts, null);
 460         } catch (IllegalArgumentException e) {
 461             ok = true;
 462         }
Thanks,

Brian

On Aug 23, 2016, at 11:34 AM, Phil Race <philip.r...@oracle.com> wrote:

> Whilst there is no harm in the cause of the IAE being NPE, unless it
> is precisely called out in the spec - which it is not - all it says is
> "Note that a cause might be set on such an exception."
> which is non-specific,  I don't think the test should check for it.

Reply via email to