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
@ -1,3 +1,8 @@
|
||||
2004-07-17 Mark Wielaard <mark@klomp.org>
|
||||
|
||||
* java/awt/event/InvocationEvent.java (dispatch): Synchronize
|
||||
on notifier object before calling notifyAll().
|
||||
|
||||
2004-07-17 Michael Koch <konqueror@gmx.de>
|
||||
|
||||
* gnu/java/nio/channels/FileChannelImpl.java
|
||||
|
@ -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…
Reference in New Issue
Block a user