You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Nathan Beyer (JIRA)" <ji...@apache.org> on 2006/10/16 02:18:36 UTC

[jira] Resolved: (HARMONY-1860) [classlib][awt] Empty Area returns NULL instead of PathIterator

     [ http://issues.apache.org/jira/browse/HARMONY-1860?page=all ]

Nathan Beyer resolved HARMONY-1860.
-----------------------------------

    Resolution: Fixed

I've applied a modified version of the patch. I made the inner class static and private and fixed the typos in the exception messages.

Please verify that everything looks as expected.

Thanks.

> [classlib][awt] Empty Area returns NULL instead of PathIterator
> ---------------------------------------------------------------
>
>                 Key: HARMONY-1860
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1860
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Denis Kishenko
>         Assigned To: Nathan Beyer
>         Attachments: HARMONY-1860-Area.patch, HARMONY-1860-AreaTest.patch
>
>
> Harmony implementation of Area returns null instead of PathIterator if Area is empty.
> ============== Test =================
> import java.awt.geom.Area;
> public class Test {
>     static public void main(String[] args) {
>         System.out.println(new Area().getPathIterator(null));
>     }
> }
> =========== RI ==================
> java.awt.geom.AreaIterator@2ccfd5
> ========== Harmony =============
> null

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