summaryrefslogtreecommitdiff
path: root/java/util/Timer.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/util/Timer.java')
-rw-r--r--java/util/Timer.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/util/Timer.java b/java/util/Timer.java
index e4eb246a1..ee2a0ce19 100644
--- a/java/util/Timer.java
+++ b/java/util/Timer.java
@@ -343,6 +343,10 @@ public class Timer
{
task.run();
}
+ catch (ThreadDeath death)
+ {
+ throw death;
+ }
catch (Throwable t)
{
/* ignore all errors */