You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Denis Kishenko (JIRA)" <ji...@apache.org> on 2006/09/11 15:35:27 UTC
[jira] Updated: (HARMONY-1419) [classlib][awt]
FlatteningPathIterator(null, 1) expected NPE
[ http://issues.apache.org/jira/browse/HARMONY-1419?page=all ]
Denis Kishenko updated HARMONY-1419:
------------------------------------
Attachment: 1419-FlatteningPathIterator.patch
patch + test
> [classlib][awt] FlatteningPathIterator(null, 1) expected NPE
> ------------------------------------------------------------
>
> Key: HARMONY-1419
> URL: http://issues.apache.org/jira/browse/HARMONY-1419
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Denis Kishenko
> Attachments: 1419-FlatteningPathIterator.patch, 1419-FlatteningPathIteratorTest.patch
>
>
> Harmony implementation of FlatteningPathIterator(PathIterator path, double flatness) doesn't throw NPE while RI does.
> ============= Spec =====================
> nothing about exceptions
> ============= Test.java ====================
> import java.awt.geom.FlatteningPathIterator;
> public class Test {
> static public void main(String[] args) {
> new FlatteningPathIterator(null, 1);
> }
> }
> ============ RI output ================
> java.lang.NullPointerException
> at java.awt.geom.FlatteningPathIterator.next(FlatteningPathIterator.java:187)
> at java.awt.geom.FlatteningPathIterator.<init>(FlatteningPathIterator.java:112)
> at java.awt.geom.FlatteningPathIterator.<init>(FlatteningPathIterator.java:78)
> at Test.main(Test.java:6)
> =========== Harmony output ===========
> nothing
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira