notifyAll in VMProcess

[email protected]
Newsgroups gmane.comp.java.classpath.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.