From f27fd64eb98bd89fc1e863060d2806a4010c8113 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Thu, 18 Sep 2003 13:09:53 +0000 Subject: [PATCH] Timer.java (finalize): Added "throws Throwable". 2003-09-18 Michael Koch * java/util/Timer.java (finalize): Added "throws Throwable". From-SVN: r71519 --- libjava/ChangeLog | 4 ++++ libjava/java/util/Timer.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 3a1cadc927e..fbe40721ace 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2003-09-18 Michael Koch + + * java/util/Timer.java (finalize): Added "throws Throwable". + 2003-09-18 Michael Koch * java/net/DatagramSocket.java diff --git a/libjava/java/util/Timer.java b/libjava/java/util/Timer.java index 38c4dc09f57..928cd9b5d50 100644 --- a/libjava/java/util/Timer.java +++ b/libjava/java/util/Timer.java @@ -601,7 +601,7 @@ public class Timer * Tells the scheduler that the Timer task died * so there will be no more new tasks scheduled. */ - protected void finalize() + protected void finalize() throws Throwable { queue.setNullOnEmpty(true); } -- 2.30.2