add a few classpath methods

This commit is contained in:
Joel Dice
2007-11-06 17:41:53 -07:00
parent 76d876c039
commit 4611c89dbe
3 changed files with 17 additions and 0 deletions

View File

@ -29,6 +29,10 @@ public class Thread implements Runnable {
classLoader = current.classLoader;
}
public Thread(Runnable task, String name) {
this(task);
}
public synchronized void start() {
if (peer != 0) {
throw new IllegalStateException("thread already started");