[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/29416] New: Bad impl of GeneralPath.intersects(Rectangle2
From: |
ujihara at aurora dot dti dot ne dot jp |
Subject: |
[Bug classpath/29416] New: Bad impl of GeneralPath.intersects(Rectangle2D) |
Date: |
10 Oct 2006 15:59:27 -0000 |
The following program should output true, but Classpath outputs false.
It looks the same bug of SUN's Java of Bug ID: 4090018.
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4090018
import java.awt.geom.*;
public class Program
{
public static void main(String[] args)
{
GeneralPath gp = new GeneralPath();
gp.moveTo(444, 31);
gp.lineTo(447, 37);
gp.lineTo(441, 37);
gp.closePath();
Rectangle2D rect = new Rectangle2D.Double(58, 26, 663, 174);
System.out.println(gp.intersects(rect));
}
}
--
Summary: Bad impl of GeneralPath.intersects(Rectangle2D)
Product: classpath
Version: 0.91
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ujihara at aurora dot dti dot ne dot jp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29416
- [Bug classpath/29416] New: Bad impl of GeneralPath.intersects(Rectangle2D),
ujihara at aurora dot dti dot ne dot jp <=