诡异的java.lang.IllegalMonitorStateException
今天的一段代码抛出了java.lang.IllegalMonitorStateException,代码如下: private boolean wait = false; public boolean pleaseWait() { synchronized (this.wait) { if (this.wait == true) { return false; } ...