You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Denis Kishenko (JIRA)" <ji...@apache.org> on 2006/09/25 17:29:51 UTC
[jira] Created: (HARMONY-1572) [classlib][awt] If Polygon is empty
then PathIterator.isDone() returns FALSE while RI returns TRUE
[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
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
[jira] Closed: (HARMONY-1572) [classlib][awt] If Polygon is empty
then PathIterator.isDone() returns FALSE while RI returns TRUE
Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1572?page=all ]
Mikhail Loenko closed HARMONY-1572.
-----------------------------------
> [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
[jira] Updated: (HARMONY-1572) [classlib][awt] If Polygon is empty
then PathIterator.isDone() returns FALSE while RI returns TRUE
Posted by "Denis Kishenko (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1572?page=all ]
Denis Kishenko updated HARMONY-1572:
------------------------------------
Attachment: 1572-Polygon.patch
patch+test
> [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
> 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
[jira] Assigned: (HARMONY-1572) [classlib][awt] If Polygon is empty
then PathIterator.isDone() returns FALSE while RI returns TRUE
Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
[ 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
[jira] Commented: (HARMONY-1572) [classlib][awt] If Polygon is
empty then PathIterator.isDone() returns FALSE while RI returns TRUE
Posted by "Denis Kishenko (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1572?page=comments#action_12444265 ]
Denis Kishenko commented on HARMONY-1572:
-----------------------------------------
Verified, thanks!
> [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
[jira] Resolved: (HARMONY-1572) [classlib][awt] If Polygon is empty
then PathIterator.isDone() returns FALSE while RI returns TRUE
Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1572?page=all ]
Mikhail Loenko resolved HARMONY-1572.
-------------------------------------
Resolution: Fixed
patches applied in revision 466069
Denis please check that it was apllied correctly
> [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