changeset 2657:fffcbae2c099

Fix of regression test jdk/test/java/util/zip/ConstructDeflaterInput.java
author ptisnovs
date Tue, 12 Jul 2011 17:14:42 +0200
parents 98a64707ae8c
children 3d5ae12b32b7
files ChangeLog Makefile.am patches/jtreg-ConstructDeflaterInput-fix.patch
diffstat 3 files changed, 20 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Jul 12 09:52:46 2011 +0200
+++ b/ChangeLog	Tue Jul 12 17:14:42 2011 +0200
@@ -1,3 +1,11 @@
+2011-07-12  Pavel Tisnovsky  <ptisnovs@redhat.com>
+
+	* Makefile.am: added new patch
+	* patches/jtreg-ConstructDeflaterInput-fix.patch:
+	Regression test jdk/test/java/util/zip/ConstructDeflaterInput.java
+	should be run in othervm mode to not to print messages to JTreg
+	log files (such messages must be stored in .jtr file).
+
 2011-07-12  Pavel Tisnovsky  <ptisnovs@redhat.com>
 
 	* Makefile.am: added new patch
--- a/Makefile.am	Tue Jul 12 09:52:46 2011 +0200
+++ b/Makefile.am	Tue Jul 12 17:14:42 2011 +0200
@@ -362,7 +362,8 @@
 	patches/openjdk/7029152-String_intrinsics_miss_optimization.patch \
 	patches/openjdk/6711682-JCheckBox_in_JTable_does_not_respond_to_click.patch \
 	patches/jtreg-7020373-add-ignore-tag.patch \
-	patches/openjdk/6758179-D3D_AlphaComposite_is_applied_incorrectly.patch
+	patches/openjdk/6758179-D3D_AlphaComposite_is_applied_incorrectly.patch \
+	patches/jtreg-ConstructDeflaterInput-fix.patch
 
 if WITH_RHINO
 ICEDTEA_PATCHES += \
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/jtreg-ConstructDeflaterInput-fix.patch	Tue Jul 12 17:14:42 2011 +0200
@@ -0,0 +1,10 @@
+--- openjdk.orig/jdk/test/java/util/zip/ConstructDeflaterInput_original.java	2011-07-05 20:36:25.000000000 +0200
++++ openjdk/jdk/test/java/util/zip/ConstructDeflaterInput.java	2011-07-11 15:35:00.000000000 +0200
+@@ -25,6 +25,7 @@
+  * @test
+  * @bug 4679743
+  * @summary Test parts of DeflaterInputStream code that don't really do I/O.
++ * @run main/othervm ConstructDeflaterInput
+  */
+ 
+ import java.io.*;