Pardon my replication; I've posted a variant of this question on this board before, but now I understand the nature of my problem better, thus this post.
Basically, I've got a program which creates a new
thread from a class that extends Thread. The program instantiates an object of that class (successfully -- everything in the constructor works OK), and then calls objectName.start().
For some reason, the run() method of the class is not executed at that point. I've double-checked that it's not some programming error in the method by making run()'s first action a simple System.out.println("Running..."); call, which should show up regardless of what else is going on in the method. The rest of the main program, which calls this class, continues to execute after calling objectName.start(), and has no apparent problems.
FYI, I'm using JDK 1.2 under Linux Emulation on OpenBSD 2.9. The same problem has occured under JDK 1.2 on Win98/2000 as well, so I doubt it's the OS.
Thanks,
Alex Kirk