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] Created: (HARMONY-1419) [classlib][awt] FlatteningPathIterator(null, 1) expected NPE
Date Mon, 11 Sep 2006 10:23:22 GMT
[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


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