changeset 1608:0641929711bf

2009-01-29 Omair Majid <omajid@redhat.com> * patches/icedtea-java2d-dasher.patch: New patch. Fix interpretation of dash array elements in BasicStroke. * Makefile.am (ICEDTEA_PATCHES): Apply the above. * HACKING: Document the above.
author Omair Majid <omajid@redhat.com>
date Thu, 29 Jan 2009 09:59:12 -0500
parents 674929aec134
children 12c4111a284c
files ChangeLog HACKING Makefile.am patches/icedtea-java2d-dasher.patch
diffstat 4 files changed, 21 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Jan 28 10:48:37 2009 -0500
+++ b/ChangeLog	Thu Jan 29 09:59:12 2009 -0500
@@ -1,3 +1,10 @@
+2009-01-29  Omair Majid  <omajid@redhat.com>
+
+	* patches/icedtea-java2d-dasher.patch: New patch. Fix interpretation of
+	dash array elements in BasicStroke.
+	* Makefile.am (ICEDTEA_PATCHES): Apply the above.
+	* HACKING: Document the above.
+
 2009-01-28  Lillian Angel  <langel@redhat.com>
 
 	* NEWS: Updated date.
--- a/HACKING	Wed Jan 28 10:48:37 2009 -0500
+++ b/HACKING	Thu Jan 29 09:59:12 2009 -0500
@@ -82,6 +82,7 @@
 * icedtea-no-precompiled.patch: Don't use precompiled header files in hotspot.
 * icedtea-includedb.patch: Add missing include files.
 * icedtea-awt-window-size.patch: Fix X11 window size calculation (S6721088).
+* icedtea-java2d-dasher.patch: Fix interpretation of dash array elements in BasicStroke (S6793344).
 
 The following patches are only applied to OpenJDK6 in IcedTea6:
 
--- a/Makefile.am	Wed Jan 28 10:48:37 2009 -0500
+++ b/Makefile.am	Thu Jan 29 09:59:12 2009 -0500
@@ -609,7 +609,8 @@
 ICEDTEA_PATCHES += \
 	$(DISTRIBUTION_PATCHES) \
 	patches/icedtea-demo-swingapplet.patch \
-	patches/icedtea-awt-window-size.patch
+	patches/icedtea-awt-window-size.patch \
+	patches/icedtea-java2d-dasher.patch
 
 stamps/extract.stamp: stamps/download.stamp
 if OPENJDK_SRC_DIR_FOUND
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/icedtea-java2d-dasher.patch	Thu Jan 29 09:59:12 2009 -0500
@@ -0,0 +1,11 @@
+--- openjdk/jdk/src/share/classes/sun/java2d/pisces/Dasher.java.orig	2009-01-13 12:14:53.000000000 -0500
++++ openjdk/jdk/src/share/classes/sun/java2d/pisces/Dasher.java	2009-01-13 12:15:09.000000000 -0500
+@@ -120,7 +120,7 @@
+ 
+         // Normalize so 0 <= phase < dash[0]
+         int idx = 0;
+-        dashOn = false;
++        dashOn = true;
+         int d;
+         while (phase >= (d = dash[idx])) {
+             phase -= d;