From 9b6f7c7a867d1e11dd2460454e5912fc56102d28 Mon Sep 17 00:00:00 2001 From: mark Date: Sun, 3 Mar 2002 11:02:04 +0000 Subject: [PATCH] * java/util/Timer (TaskQueue.stop): set elements to zero. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50254 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/ChangeLog | 4 ++++ libjava/java/util/Timer.java | 1 + 2 files changed, 5 insertions(+) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 27667e3..b158a95 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2002-03-03 Mark Wielaard + + * java/util/Timer (TaskQueue.stop): set elements to zero. + 2002-02-28 Anthony Green * java/lang/reflect/natMethod.cc (result): Add void* element. diff --git a/libjava/java/util/Timer.java b/libjava/java/util/Timer.java index 03ec937..38c4dc0 100644 --- a/libjava/java/util/Timer.java +++ b/libjava/java/util/Timer.java @@ -293,6 +293,7 @@ public class Timer public synchronized void stop() { this.heap = null; + this.elements = 0; this.notify(); } -- 2.7.4