you never started the Thread: Thread t = new Thread(); ...rest of code elided ... t.start(); System.out.println( "Joining..." ); t.join();
Joined: Jun 06, 2002
I know that ... I even said it in my question.
Joined: Jul 28, 2002
whoops, sorry. You're right. To be less vague, join was made to simply return quietly if the Thread is not started. Since you did not start the thread, it simply does nothing (but now seeing the guy who posted the source code - is that allowed in the license - it's obvious in there)