diff options
-rw-r--r-- | toolkit/test/accessibility/EventQueue.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/toolkit/test/accessibility/EventQueue.java b/toolkit/test/accessibility/EventQueue.java index 8449c6416ebc..84894263b142 100644 --- a/toolkit/test/accessibility/EventQueue.java +++ b/toolkit/test/accessibility/EventQueue.java @@ -66,7 +66,6 @@ class EventQueue private EventQueue () { - maMonitor = Boolean.TRUE; maRegularQueue = new LinkedList<Runnable>(); maDisposingQueue = new LinkedList<Runnable>(); new Thread(this, "AWB.EventQueue").start(); @@ -133,7 +132,7 @@ class EventQueue } private static EventQueue maInstance = null; - private final Object maMonitor; + private final Object maMonitor = new Object(); private final LinkedList<Runnable> maRegularQueue; private final LinkedList<Runnable> maDisposingQueue; } |