You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2016/04/12 20:51:33 UTC

svn commit: r1738849 - /tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/server/TestClose.java

Author: markt
Date: Tue Apr 12 18:51:33 2016
New Revision: 1738849

URL: http://svn.apache.org/viewvc?rev=1738849&view=rev
Log:
Multi-catch not available

Modified:
    tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/server/TestClose.java

Modified: tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/server/TestClose.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/server/TestClose.java?rev=1738849&r1=1738848&r2=1738849&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/server/TestClose.java (original)
+++ tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/server/TestClose.java Tue Apr 12 18:51:33 2016
@@ -296,7 +296,9 @@ public class TestClose extends TomcatBas
                     session.getBasicRemote().sendText("Test reply");
                         Thread.sleep(500);
                     }
-                } catch (IOException | InterruptedException e) {
+                } catch (IOException e) {
+                    // Expected to fail
+                } catch (InterruptedException e) {
                     // Expected to fail
                 }
             }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org