InvocationEvent.java (dispatch): Synchronize on notifier object before calling notifyAll().
2004-07-17 Mark Wielaard <mark@klomp.org> * java/awt/event/InvocationEvent.java (dispatch): Synchronize on notifier object before calling notifyAll(). From-SVN: r84859
This commit is contained in:
committed by
Michael Koch
parent
2ccc5a9508
commit
10c383a4be
@@ -189,8 +189,13 @@ public class InvocationEvent extends AWTEvent implements ActiveEvent
|
||||
}
|
||||
else
|
||||
runnable.run();
|
||||
if (notifier != null)
|
||||
notifier.notifyAll();
|
||||
|
||||
Object o = notifier;
|
||||
if (o != null)
|
||||
synchronized(o)
|
||||
{
|
||||
o.notifyAll();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user