harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Kishenko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1419) [classlib][awt] FlatteningPathIterator(null, 1) expected NPE
Date Mon, 25 Sep 2006 13:40:52 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1419?page=comments#action_12437557 ] 
            
Denis Kishenko commented on HARMONY-1419:
-----------------------------------------

Verified, thanks

> [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

        

Mime
View raw message