Author: j...@google.com
Date: Wed Jan 21 09:50:06 2009
New Revision: 4508

Modified:
     
releases/1.6/user/test/com/google/gwt/user/client/CommandExecutorTest.java

Log:
Fixes 1.6 build breakage. CommandExecutorTest was allowing an exception to
escape from the test method that was exposed by recent fixes to the JUnit
infrastructure.


Modified:  
releases/1.6/user/test/com/google/gwt/user/client/CommandExecutorTest.java
==============================================================================
---  
releases/1.6/user/test/com/google/gwt/user/client/CommandExecutorTest.java      
 
(original)
+++  
releases/1.6/user/test/com/google/gwt/user/client/CommandExecutorTest.java      
 
Wed Jan 21 09:50:06 2009
@@ -206,7 +206,7 @@

      UncaughtExceptionHandler ueh1 = new UncaughtExceptionHandler() {
        public void onUncaughtException(Throwable e) {
-        if (!(e instanceof CommandCanceledException)) {
+        if (!(e instanceof CommandCanceledException || e instanceof  
IncrementalCommandCanceledException)) {
            originalUEH.onUncaughtException(e);
            return;
          }

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to