Make Runner.run() synchronized again, needed by wait()

This commit is contained in:
hns 2005-06-09 11:23:49 +00:00
parent e95169cfe6
commit 23efbd457d

View file

@ -233,7 +233,7 @@ public class Logging extends LogFactory {
*/ */
static class Runner extends Thread { static class Runner extends Thread {
public void run() { public synchronized void run() {
long nextMidnight = nextMidnight(); long nextMidnight = nextMidnight();
while ((runner == this) && !isInterrupted()) { while ((runner == this) && !isInterrupted()) {