This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug AWT/16823] New: java.awt.geom.RoundRectangle2D.intersects partially wrong
- From: "mark at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jul 2004 20:54:35 -0000
- Subject: [Bug AWT/16823] New: java.awt.geom.RoundRectangle2D.intersects partially wrong
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The implementation of the intersects method in java.awt.geom.RoundRectangle2D
sometimes returns the wrong values.
The attached Mauve test case succeeds on Sun J2SE 1.4.1_01, but fails on
Classpath. I've just submitted this test case to
<mauve-patches@sources.redhat.com>. The enclosed image
(gnu/testlet/java/awt/geom/RoundRectangle2D/doc-files/intersects-1.png)
illustrates the expected results. [Testcase and picture are now in mauve]
For rectangles #10, 11, 12, 16, 20, 23, 27, 30, 34, 38, 39, and 40, the current
classpath implementation returns false. However, true would be the correct result.
This bug report comes from GNU Classpath:
https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=6067
--
Summary: java.awt.geom.RoundRectangle2D.intersects partially
wrong
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: AWT
AssignedTo: fitzsim at redhat dot com
ReportedBy: mark at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16823