@@ -1313,7 +1313,7 @@ void processSerialCalls() {
13131313 // after finishing an event cycle there might be serial calls waiting
13141314 // to return.
13151315 synchronized (lock ) {
1316- lock .notify ();
1316+ lock .notifyAll ();
13171317 }
13181318 }
13191319 processingSerialCalls = false ;
@@ -1332,7 +1332,7 @@ boolean isProcessingSerialCalls() {
13321332
13331333 void notifyDisplay () {
13341334 synchronized (lock ) {
1335- lock .notify ();
1335+ lock .notifyAll ();
13361336 }
13371337 }
13381338
@@ -1621,7 +1621,7 @@ void setCurrent(final Form newForm, boolean reverse) {
16211621 }
16221622 }
16231623 synchronized (lock ) {
1624- lock .notify ();
1624+ lock .notifyAll ();
16251625 }
16261626
16271627 if (!transitionExists ) {
@@ -1847,7 +1847,7 @@ private void addSingleArgumentEvent(int type, int code) {
18471847 inputEventStackPointer ++;
18481848 inputEventStack [inputEventStackPointer ] = code ;
18491849 inputEventStackPointer ++;
1850- lock .notify ();
1850+ lock .notifyAll ();
18511851 }
18521852 }
18531853
@@ -1977,7 +1977,7 @@ private void addPointerEvent(int type, int x, int y) {
19771977 inputEventStackPointer ++;
19781978 inputEventStack [inputEventStackPointer ] = y ;
19791979 inputEventStackPointer ++;
1980- lock .notify ();
1980+ lock .notifyAll ();
19811981 }
19821982 }
19831983
@@ -2000,7 +2000,7 @@ private void addPointerEvent(int type, int[] x, int[] y) {
20002000 inputEventStack [inputEventStackPointer ] = y [iter ];
20012001 inputEventStackPointer ++;
20022002 }
2003- lock .notify ();
2003+ lock .notifyAll ();
20042004 }
20052005 }
20062006
@@ -2029,7 +2029,7 @@ private void addPointerDragEventWithTimestamp(int x, int y) {
20292029 Log .p ("EDT performance is very slow triggering this exception!" );
20302030 Log .e (err );
20312031 }
2032- lock .notify ();
2032+ lock .notifyAll ();
20332033 }
20342034 }
20352035
@@ -2051,7 +2051,7 @@ private void addPointerEventWithTimestamp(int type, int x, int y) {
20512051 Log .p ("EDT performance is very slow triggering this exception!" );
20522052 Log .e (err );
20532053 }
2054- lock .notify ();
2054+ lock .notifyAll ();
20552055 }
20562056 }
20572057
@@ -2165,7 +2165,7 @@ private void addSizeChangeEvent(int type, int w, int h) {
21652165 inputEventStackPointer ++;
21662166 inputEventStack [inputEventStackPointer ] = h ;
21672167 inputEventStackPointer ++;
2168- lock .notify ();
2168+ lock .notifyAll ();
21692169 }
21702170 }
21712171
@@ -2196,7 +2196,7 @@ private void addNotifyEvent(int type) {
21962196 synchronized (lock ) {
21972197 inputEventStack [inputEventStackPointer ] = type ;
21982198 inputEventStackPointer ++;
2199- lock .notify ();
2199+ lock .notifyAll ();
22002200 }
22012201 }
22022202
0 commit comments