jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1332258 - /jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/NativeCommand.java
Date Mon, 30 Apr 2012 15:44:41 GMT
Author: sebb
Date: Mon Apr 30 15:44:41 2012
New Revision: 1332258

URL: http://svn.apache.org/viewvc?rev=1332258&view=rev
Log:
Never catch Throwable

Modified:
    jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/NativeCommand.java

Modified: jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/NativeCommand.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/NativeCommand.java?rev=1332258&r1=1332257&r2=1332258&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/NativeCommand.java
(original)
+++ jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/NativeCommand.java
Mon Apr 30 15:44:41 2012
@@ -67,8 +67,8 @@ public class NativeCommand {
 			{
 				try {
 					proc.destroy();
-				} catch (Throwable e) {
-					// NOOP
+				} catch (Exception ignored) {
+					// Ignored
 				}
 			}
 		}



Mime
View raw message