This code:
class A implements Runnable {
public void run() { System.out.println("run Lola run"); }
public static void main(
String args[]) {
Thread t = new Thread(new A());
t.start();
t.start(); // should throw a runtime exception
}
}
doesn't throw a runtime exception (at least on OS X) as it is stipulated it would do on page 536 of K&B.
[ July 16, 2004: Message edited by: Next Stepguy ]