View | Details | Raw Unified | Return to bug 58784
Collapse All | Expand All

(-)a/src/core/org/apache/jmeter/util/JMeterUtils.java (-8 / +1 lines)
Lines 1309-1321 public class JMeterUtils implements UnitTestManager { Link Here
1309
        if(SwingUtilities.isEventDispatchThread()) {
1309
        if(SwingUtilities.isEventDispatchThread()) {
1310
            runnable.run();
1310
            runnable.run();
1311
        } else {
1311
        } else {
1312
            try {
1312
            SwingUtilities.invokeLater(runnable);
1313
                SwingUtilities.invokeAndWait(runnable);
1314
            } catch (InterruptedException e) {
1315
                log.warn("Interrupted in thread "+Thread.currentThread().getName(), e);
1316
            } catch (InvocationTargetException e) {
1317
                throw new Error(e);
1318
            }
1319
        }
1313
        }
1320
    }
1314
    }
1321
    
1315
    
1322
- 

Return to bug 58784