Hi all,

There's a mismatch between comment and implementation in vm/reference/java/lang/VMProcess.java. The text says:

<<The instance is Object.notifyAll'd each time the state changes.>>

But the implementation actually only calls notify. By looking at the code, it makes sense that the instance should be notifyAll'd because multiple threads may be waiting on a VMProcess (through waitFor or destroy). So is that a bug in the implementation, or am I missing something?

Cheers,
Nicolas


Reply via email to