diff options
author | eutarass | 2010-07-16 15:53:53 +0000 |
---|---|---|
committer | eutarass | 2010-07-16 15:53:53 +0000 |
commit | 9a61030e8881e061ac769c8835da235aa3015d47 (patch) | |
tree | 0b3693a2ed97b3c4a975a69cdf1dd224531e6ea0 /plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug | |
parent | 8c333e09597760d50afa52e1b03d20fe3be8b148 (diff) | |
download | org.eclipse.tcf-9a61030e8881e061ac769c8835da235aa3015d47.tar.gz org.eclipse.tcf-9a61030e8881e061ac769c8835da235aa3015d47.tar.xz org.eclipse.tcf-9a61030e8881e061ac769c8835da235aa3015d47.zip |
TCF Tests: fixed: tests should abort and exit with error code when unhandled exception is caught in event dispatch loop
Diffstat (limited to 'plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug')
-rw-r--r-- | plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/Main.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/Main.java b/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/Main.java index 46dc10f04..ddbe466af 100644 --- a/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/Main.java +++ b/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/Main.java @@ -44,13 +44,7 @@ public class Main { while (queue.isEmpty()) wait(); r = queue.removeFirst(); } - try { - r.run(); - } - catch (Throwable x) { - System.err.println("Error dispatching TCF event:"); - x.printStackTrace(); - } + r.run(); } } catch (Throwable x) { |