diff options
author | Michael Koch <konqueror@gmx.de> | 2003-09-18 13:09:53 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-09-18 13:09:53 +0000 |
commit | f27fd64eb98bd89fc1e863060d2806a4010c8113 (patch) | |
tree | c39c062077f613c0564ba44bbb58750685bbddc3 | |
parent | 02aec31ef09570e9c49a794001e5b7eb81a067f7 (diff) | |
download | gcc-f27fd64eb98bd89fc1e863060d2806a4010c8113.zip gcc-f27fd64eb98bd89fc1e863060d2806a4010c8113.tar.gz gcc-f27fd64eb98bd89fc1e863060d2806a4010c8113.tar.bz2 |
Timer.java (finalize): Added "throws Throwable".
2003-09-18 Michael Koch <konqueror@gmx.de>
* java/util/Timer.java (finalize): Added "throws Throwable".
From-SVN: r71519
-rw-r--r-- | libjava/ChangeLog | 4 | ||||
-rw-r--r-- | libjava/java/util/Timer.java | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 3a1cadc..fbe4072 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,9 @@ 2003-09-18 Michael Koch <konqueror@gmx.de> + * java/util/Timer.java (finalize): Added "throws Throwable". + +2003-09-18 Michael Koch <konqueror@gmx.de> + * java/net/DatagramSocket.java (ch): Removed. (receive): Use getChannel() instead of ch. diff --git a/libjava/java/util/Timer.java b/libjava/java/util/Timer.java index 38c4dc0..928cd9b 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); } |