EDIT: THE ANSWER IS NO! It just looks like it if you do this in a while loop. My fault.
Hi! I have written a program that blocks in notifyAll() although it is out of my understanding why this is happening.
Part of the stack trace is:
"Client" prio=6 tid=0x03768c00 nid=0x8c4 runnable [0x0565f000]
java.lang.Thread.State: RUNNABLE
at java.lang.Object.notifyAll(Native Method)
at org.eclipse.swt.widgets.HookableDisplay.poisonSyncedExecs(HookableDisplay.java:205)
- locked <0x1764c8f8> (a org.eclipse.swt.widgets.RunnableLock)
- locked <0x2403df78> (a java.lang.Class for org.eclipse.swt.graphics.Device)
at org.eclipse.swt.widgets.HookableDisplay.poisonUnitTests(HookableDisplay.java:188)
- locked <0x15954da0> (a java.lang.String)
at de.ikoffice.gui.MainWindow.open(MainWindow.java:1249)
at de.ikoffice.IKOfficeClient.run(IKOfficeClient.java:200)
at java.lang.Thread.run(Thread.java:619)
Yes, the Thread is still in RUNNING state, but when I take the same Stacktrace again, the Thread still blocks.
I use Java 1.6.0_20 on Windows 7 if that matters.