harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nellya Udovichenko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4612) [classlib][awt] The method java.awt.geom.Area.contains() returns no correct result if the parameter is the vertex of rhomb
Date Thu, 09 Aug 2007 08:15:42 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-4612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518659
] 

Nellya Udovichenko commented on HARMONY-4612:
---------------------------------------------

Thank you, Alexey! Verified. Works fine.

> [classlib][awt]  The method java.awt.geom.Area.contains() returns no correct result if
the parameter is the vertex of rhomb
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4612
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4612
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Nellya Udovichenko
>            Assignee: Alexey Petrenko
>         Attachments: H-4612-test.patch, H-4612.patch
>
>
> Test:
> import java.awt.geom.Area;
> import java.awt.geom.GeneralPath;
> public class Test {
>     public static void main(String[] args) throws Exception{
> 		
>         GeneralPath path = new GeneralPath();
>         path.moveTo(50, 100);
>         path.lineTo(100, 50);
>         path.lineTo(150, 100);
>         path.lineTo(100, 150);
>         path.closePath();
>         
>         Area area = new Area(path);
>         
>         if (!area.contains(100, 50)) {
>         	System.out.println("PASSED");
>         } else {
>         	System.out.println("FAILED");
>         }
>     }       
> }
> RI output:
> PASSED
> Harmony output:
> FAILED

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message