6853592: VM test nsk.regression.b4261880 fails with "X Error of failed request: BadWindow" inconsistently.
authordcherepanov
Wed, 30 Sep 2009 13:21:51 +0400
changeset 3968 7f37f405ff5a
parent 3967 258b4566de9f
child 3969 6e77be3973ea
6853592: VM test nsk.regression.b4261880 fails with "X Error of failed request: BadWindow" inconsistently. Reviewed-by: art, anthony
jdk/src/solaris/classes/sun/awt/X11/XToolkit.java
--- a/jdk/src/solaris/classes/sun/awt/X11/XToolkit.java	Tue Sep 22 01:20:51 2009 -0700
+++ b/jdk/src/solaris/classes/sun/awt/X11/XToolkit.java	Wed Sep 30 13:21:51 2009 +0400
@@ -324,13 +324,6 @@
                 if (log.isLoggable(Level.FINE)) {
                     dumpPeers();
                 }
-
-                awtLock();
-                try {
-                    XlibWrapper.XSetErrorHandler(saved_error_handler);
-                } finally {
-                    awtUnlock();
-                }
             }
         });
     }