title: Java Thread wait() => blocked?
body: <p>According to <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Thread.State.html" rel="noreferrer">Java thread state info</a> calling wait() will result a thread to go in BLOCKED state. However this piece of code will result (after being called) in a Thread in WAITING State.</p>
  
  <pre><code>class bThread extends Thread {
      public synchronized void run() {
          try {
              wait();
          } catch (InterruptedException e) {
              e.printStackTrace();
          }
      }
  
  }
  </code></pre>
  
  <p>Have I got something wrong? Can anybody explain this behaviour to me?
  Any help would be appreciated!</p>