Bug 53311 - JMeterUtils#runSafe should not throw Error when interrupted

git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1343334 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2012-05-28 17:46:25 +00:00
parent 2002bb83ca
commit a96760645e
2 changed files with 2 additions and 1 deletions

View File

@ -1289,7 +1289,7 @@ public class JMeterUtils implements UnitTestManager {
try { try {
SwingUtilities.invokeAndWait(runnable); SwingUtilities.invokeAndWait(runnable);
} catch (InterruptedException e) { } catch (InterruptedException e) {
throw new Error(e); log.warn("Interrupted in thread "+Thread.currentThread().getName(), e);
} catch (InvocationTargetException e) { } catch (InvocationTargetException e) {
throw new Error(e); throw new Error(e);
} }

View File

@ -128,6 +128,7 @@ or a Debug Sampler with all fields set to False (to reduce the sample size).
<h2>Non-functional changes</h2> <h2>Non-functional changes</h2>
<ul> <ul>
<li>Bug 53311 - JMeterUtils#runSafe should not throw Error when interrupted</li>
<li>Updated to commons-net-3.1 (from 3.0.1)</li> <li>Updated to commons-net-3.1 (from 3.0.1)</li>
</ul> </ul>