[OpenJDK 2D-Dev] [9] RFR JDK-8149562: TIFFField#createFromMetadataNode javadoc should provide information about sibling/child nodes that should be part of parameter node

Brian Burkhalter brian.burkhalter at oracle.com
Tue Aug 23 18:38:48 UTC 2016


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.race at 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20160823/ca0c5e13/attachment.html>


More information about the 2d-dev mailing list