2005-04-01 Jeroen Frijters <jeroen@frijters.net>
* java/util/Timer.java (run): Stop the queue if a task throws an exception. From-SVN: r97411
This commit is contained in:
parent
77c10b31ec
commit
f68d5b0d04
|
@ -1,3 +1,8 @@
|
|||
2005-04-01 Jeroen Frijters <jeroen@frijters.net>
|
||||
|
||||
* java/util/Timer.java
|
||||
(run): Stop the queue if a task throws an exception.
|
||||
|
||||
2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
|
||||
|
||||
* javax/swing/text/JTextComponent.java (viewToModel): New method.
|
||||
|
|
|
@ -350,8 +350,9 @@ public class Timer
|
|||
throw death;
|
||||
}
|
||||
catch (Throwable t)
|
||||
{
|
||||
/* ignore all errors */
|
||||
{
|
||||
// If an exception escapes, the Timer becomes invalid.
|
||||
queue.stop();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue