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:
parent
2ccc5a9508
commit
10c383a4be
2 changed files with 12 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue