notifyAll in VMProcess

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux