harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Loenko (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-1572) [classlib][awt] If Polygon is empty then PathIterator.isDone() returns FALSE while RI returns TRUE
Date Fri, 20 Oct 2006 11:12:52 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1572?page=all ]

Mikhail Loenko reassigned HARMONY-1572:
---------------------------------------

    Assignee: Mikhail Loenko

> [classlib][awt] If Polygon is empty then PathIterator.isDone() returns FALSE while RI
returns TRUE
> --------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1572
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1572
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Denis Kishenko
>         Assigned To: Mikhail Loenko
>         Attachments: 1572-Polygon.patch
>
>
> Behaviour of Harmony implementation of Polygon. PathIterator differs from RI.
> If Polygon is empty RI PathIterator.isDone() returns TRUE while Harmony returns FALSE.
> ============= Test.java ==============
> import java.awt.geom.GeneralPath;
> import java.awt.geom.PathIterator;
> import java.awt.Polygon;
> public class bug9560  
> {
>     static public void main(String[] args)
>     { 
>         Polygon p = new Polygon(new int[10], new int[10], 0);
>         PathIterator path = p.getPathIterator(null);
>         System.out.println(path.isDone());
>     }
>         
> }
> ========== RI ===============
> true
> ======= Harmony ============
> false

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