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
This commit is contained in:
Michael Koch 2003-09-18 13:09:53 +00:00 committed by Michael Koch
parent 02aec31ef0
commit f27fd64eb9
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -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);
}