Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2010-07-16 11:53:53 -0400
committereutarass2010-07-16 11:53:53 -0400
commit9a61030e8881e061ac769c8835da235aa3015d47 (patch)
tree0b3693a2ed97b3c4a975a69cdf1dd224531e6ea0 /plugins/org.eclipse.tm.tcf.debug
parent8c333e09597760d50afa52e1b03d20fe3be8b148 (diff)
downloadorg.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')
-rw-r--r--plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/Main.java8
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) {

Back to the top