changeset 1455:4d01a6a212bd

2009-03-30 Omair Majid <omajid@redhat.com> * patches/icedtea-jtreg-colortest.patch: New patch. Remove the System.exit() call that was causing the test to fail. * Makefile.am: Apply the above. * HACKING: Document the above.
author Omair Majid <omajid@redhat.com>
date Mon, 30 Mar 2009 14:43:28 -0400
parents b1ed8de8d63e
children a537113b9d22
files ChangeLog HACKING Makefile.am patches/icedtea-jtreg-colortest.patch
diffstat 4 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Mar 30 12:31:21 2009 -0400
+++ b/ChangeLog	Mon Mar 30 14:43:28 2009 -0400
@@ -1,3 +1,10 @@
+2009-03-30  Omair Majid  <omajid@redhat.com>
+
+	* patches/icedtea-jtreg-colortest.patch: New patch. Remove the 
+	System.exit() call that was causing the test to fail.
+	* Makefile.am: Apply the above.
+	* HACKING: Document the above.
+
 2009-03-30  Omair Majid  <omajid@redhat.com>
 
 	* patches/icedtea-jtreg-dnd.patch: New Patch. Fixes classpath issues in
--- a/HACKING	Mon Mar 30 12:31:21 2009 -0400
+++ b/HACKING	Mon Mar 30 14:43:28 2009 -0400
@@ -89,6 +89,7 @@
 * icedtea-s390-noinline.patch: Add special flags for javac on s390 to work around a VM problem with bad code generation during inlining.
 * icedtea-jtreg-hatrun.patch: Fix jhat test by passing the classpath to the new jvm in HatRun.java.
 * icedtea-jtreg-dnd.patch: Fix classpath issues in java/awt/dnd/FileListBetweenJVMsTest.
+* icedtea-jtreg-colortest.patch: Remove call to System.exit() that was causing SystemBgColorTest to fail.
 
 The following patches are only applied to OpenJDK6 in IcedTea6:
 
--- a/Makefile.am	Mon Mar 30 12:31:21 2009 -0400
+++ b/Makefile.am	Mon Mar 30 14:43:28 2009 -0400
@@ -688,6 +688,7 @@
 	patches/icedtea-s390-noinline.patch \
 	patches/icedtea-jtreg-hatrun.patch \
 	patches/icedtea-jtreg-dnd.patch \
+	patches/icedtea-jtreg-colortest.patch \
 	$(DISTRIBUTION_PATCHES)
 
 stamps/extract.stamp: stamps/download.stamp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/icedtea-jtreg-colortest.patch	Mon Mar 30 14:43:28 2009 -0400
@@ -0,0 +1,10 @@
+--- openjdk/jdk/test/java/awt/Graphics/DrawImageBG/SystemBgColorTest.java.orig	2009-03-30 14:21:10.000000000 -0400
++++ openjdk/jdk/test/java/awt/Graphics/DrawImageBG/SystemBgColorTest.java	2009-03-30 14:21:18.000000000 -0400
+@@ -59,7 +59,6 @@
+         if (errcount > 0) {
+             throw new RuntimeException(errcount+" errors");
+         }
+-        System.exit(0); // For 1.3 and earlier VMs...
+     }
+ 
+     static int cmap[] = {