7167780: Hang javasoft.sqe.tests.api.javax.swing.Timer.Ctor2Tests
Reviewed-by: alexsch
This commit is contained in:
parent
8007dfcd9b
commit
30ec391b79
@ -187,6 +187,9 @@ class TimerQueue implements Runnable
|
|||||||
addTimer(delayedTimer);
|
addTimer(delayedTimer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allow run other threads on systems without kernel threads
|
||||||
|
timer.getLock().newCondition().awaitNanos(1);
|
||||||
} catch (SecurityException ignore) {
|
} catch (SecurityException ignore) {
|
||||||
} finally {
|
} finally {
|
||||||
timer.getLock().unlock();
|
timer.getLock().unlock();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user