Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 42417 invoked from network); 8 Aug 2007 18:41:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Aug 2007 18:41:22 -0000 Received: (qmail 29156 invoked by uid 500); 8 Aug 2007 18:41:21 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 29134 invoked by uid 500); 8 Aug 2007 18:41:21 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 29125 invoked by uid 99); 8 Aug 2007 18:41:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 11:41:21 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 18:41:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 221D5714159 for ; Wed, 8 Aug 2007 11:40:59 -0700 (PDT) Message-ID: <13242427.1186598459104.JavaMail.jira@brutus> Date: Wed, 8 Aug 2007 11:40:59 -0700 (PDT) From: "Alexey Petrenko (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (HARMONY-4612) [classlib][awt] The method java.awt.geom.Area.contains() returns no correct result if the parameter is the vertex of rhomb In-Reply-To: <30306773.1186580580425.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexey Petrenko resolved HARMONY-4612. -------------------------------------- Resolution: Fixed The patch has been applied. Please verify. > [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.