public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug AWT/16823] New: java.awt.geom.RoundRectangle2D.intersects partially wrong
@ 2004-07-29 20:54 mark at gcc dot gnu dot org
  2004-07-30 15:48 ` [Bug AWT/16823] " fitzsim at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mark at gcc dot gnu dot org @ 2004-07-29 20:54 UTC (permalink / raw)
  To: java-prs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug AWT/16823] java.awt.geom.RoundRectangle2D.intersects partially wrong
  2004-07-29 20:54 [Bug AWT/16823] New: java.awt.geom.RoundRectangle2D.intersects partially wrong mark at gcc dot gnu dot org
@ 2004-07-30 15:48 ` fitzsim at redhat dot com
  2004-09-07 17:54 ` fitzsim at redhat dot com
  2004-12-01  0:37 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: fitzsim at redhat dot com @ 2004-07-30 15:48 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|fitzsim at redhat dot com   |graydon at redhat dot com
             Status|UNCONFIRMED                 |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16823


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug AWT/16823] java.awt.geom.RoundRectangle2D.intersects partially wrong
  2004-07-29 20:54 [Bug AWT/16823] New: java.awt.geom.RoundRectangle2D.intersects partially wrong mark at gcc dot gnu dot org
  2004-07-30 15:48 ` [Bug AWT/16823] " fitzsim at redhat dot com
@ 2004-09-07 17:54 ` fitzsim at redhat dot com
  2004-12-01  0:37 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: fitzsim at redhat dot com @ 2004-09-07 17:54 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From fitzsim at redhat dot com  2004-09-07 17:54 -------
Fixed on java-gui-branch:

http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.2660.2.321&r2=1.2660.2.322
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/awt/geom/CubicCurve2D.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.4&r2=1.4.8.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/awt/geom/GeneralPath.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.3&r2=1.3.14.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/awt/geom/QuadCurve2D.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.6&r2=1.6.8.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/awt/geom/RoundRectangle2D.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.5&r2=1.5.14.1


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16823


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug AWT/16823] java.awt.geom.RoundRectangle2D.intersects partially wrong
  2004-07-29 20:54 [Bug AWT/16823] New: java.awt.geom.RoundRectangle2D.intersects partially wrong mark at gcc dot gnu dot org
  2004-07-30 15:48 ` [Bug AWT/16823] " fitzsim at redhat dot com
  2004-09-07 17:54 ` fitzsim at redhat dot com
@ 2004-12-01  0:37 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-01  0:37 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-01 00:37 -------
All of these are all fixed in 4.0.0 by the merge of the gui branch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16823


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-12-01  0:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-29 20:54 [Bug AWT/16823] New: java.awt.geom.RoundRectangle2D.intersects partially wrong mark at gcc dot gnu dot org
2004-07-30 15:48 ` [Bug AWT/16823] " fitzsim at redhat dot com
2004-09-07 17:54 ` fitzsim at redhat dot com
2004-12-01  0:37 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).