classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] fix for java.awt.geom.GeneralPath.getPathIterator mauve tes


From: Noa Resare
Subject: [cp-patches] fix for java.awt.geom.GeneralPath.getPathIterator mauve test
Date: Wed, 27 Oct 2004 10:16:35 +0200

Current classpath fails in mauve in the
java.awt.geom.GeneralPath.getPathIterator test. It turns out that when
GeneralPathIterator.currentSegment(double[]) gets called and transform
is set, the transform.transform() invocation doesn't fill the resulting
double array from offset 0 but instead from offset 'pos' (which is the
position in the PathIterator). Changing this to 0, as the attached patch
does makes the two currentSegment() invocations symmetrical, and fixes
all java.awt.geom.GeneralPath.getPathIterator mauve tests.

Please apply.
/noa

Attachment: classpath-general-path.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]