changeset 2615:24a5884be0de

Backport of 7008106 regression test fix.
author ptisnovs
date Thu, 23 Jun 2011 11:08:51 +0200
parents 561f0d6f3934
children 58c56aeb3e79
files ChangeLog Makefile.am NEWS patches/openjdk/7008106-WindowOpacity.patch
diffstat 4 files changed, 29 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jun 23 10:57:47 2011 +0200
+++ b/ChangeLog	Thu Jun 23 11:08:51 2011 +0200
@@ -1,3 +1,10 @@
+2011-06-23  Pavel Tisnovsky  <ptisnovs@redhat.com>
+
+	* Makefile.am: added new patch
+	* NEWS: updated with backport
+	* patches/openjdk/7008106-WindowOpacity.patch:
+	Backport of 7008106 regression test fix.
+
 2011-06-23  Pavel Tisnovsky  <ptisnovs@redhat.com>
 
 	* Makefile.am: added new patch
--- a/Makefile.am	Thu Jun 23 10:57:47 2011 +0200
+++ b/Makefile.am	Thu Jun 23 11:08:51 2011 +0200
@@ -362,7 +362,8 @@
 	patches/jtreg-bug7036148-test.patch \
 	patches/jtreg-ReadWriteProfileTest.patch \
 	patches/openjdk/6818312-com.sun.awt.SecurityWarning.getSize.patch \
-	patches/jtreg-MappedByteBuffer-Basic.patch
+	patches/jtreg-MappedByteBuffer-Basic.patch \
+	patches/openjdk/7008106-WindowOpacity.patch
 
 if WITH_ALT_HSBUILD
 ICEDTEA_PATCHES += \
--- a/NEWS	Thu Jun 23 10:57:47 2011 +0200
+++ b/NEWS	Thu Jun 23 11:08:51 2011 +0200
@@ -34,6 +34,7 @@
   - S6578583: Modality is broken in windows vista home premium from jdk1.7 b02 onwards.
   - S6610244: modal dialog closes with fatal error if -Xcheck:jni is set
   - S7037283, RH712211: Null Pointer Exception in SwingUtilities2.
+  - S7008106: com/sun/awt/Translucency/WindowOpacity.java test fails.
 * Bug fixes
   - PR637: make check should exit with an error code if any regression test failed.
   - G356743: Support libpng 1.5.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/openjdk/7008106-WindowOpacity.patch	Thu Jun 23 11:08:51 2011 +0200
@@ -0,0 +1,19 @@
+# HG changeset patch
+# User dav
+# Date 1293624780 -10800
+# Node ID 8b05f9b91765b7b9da4d2033693e10c1a174a2a5
+# Parent  39e9d5613145dbdd3973a1ecaa481c679dcfbf8f
+7008106: com/sun/awt/Translucency/WindowOpacity.java test fails just against jdk7 b122
+Reviewed-by: dcherepanov
+
+diff -r 39e9d5613145 -r 8b05f9b91765 test/com/sun/awt/Translucency/WindowOpacity.java
+--- openjdk.orig/jdk/test/com/sun/awt/Translucency/WindowOpacity.java	Tue Dec 28 17:13:13 2010 +0300
++++ openjdk/jdk/test/com/sun/awt/Translucency/WindowOpacity.java	Wed Dec 29 15:13:00 2010 +0300
+@@ -64,6 +64,7 @@
+         boolean passed;
+ 
+         Frame f = new Frame("Opacity test");
++        f.setUndecorated(true);
+ 
+         passed = false;
+         try {