diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/src/main/java/org/aspectj/runtime/internal/cflowstack/ThreadCounterImpl11.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/src/main/java/org/aspectj/runtime/internal/cflowstack/ThreadCounterImpl11.java b/runtime/src/main/java/org/aspectj/runtime/internal/cflowstack/ThreadCounterImpl11.java index b040dfd19..6f6a51bd9 100644 --- a/runtime/src/main/java/org/aspectj/runtime/internal/cflowstack/ThreadCounterImpl11.java +++ b/runtime/src/main/java/org/aspectj/runtime/internal/cflowstack/ThreadCounterImpl11.java @@ -48,8 +48,7 @@ public class ThreadCounterImpl11 implements ThreadCounter { Thread t = (Thread)e.nextElement(); if (!t.isAlive()) dead_stacks.add(t); } - for (Object dead_stack : dead_stacks) { - Thread t = (Thread) dead_stack; + for (Thread t : dead_stacks) { counters.remove(t); } change_count = 0; |