import java.io.*;

public class Blat implements Runnable, java.util.Iterator, Serializable {
	private final int yarg = 2;
	private final int yarm;
	private Object lock;

	public Blat(int y) {yarm =y;}

	private static class Y extends Thread {
		public void run() { }
	}

	public Blat() {
		yarm = 5;
		System.out.println(lock);
		new Y().start();
	}

	public void xxx() {
		Y y = new Y();
		y.run();
	}

	public int greeb() { return yarg; }

	public class Bleem{
		public void gnasp() { System.out.println("oog"); }
		protected void finalize() { }
	}

	public Bleem makeBleem() { return new Bleem(); }

	public void finalize() {
		System.out.println("This is dumb");
	}

	public void other(Blat b) {
		b.finalize();
		System.out.println(new Boolean(true));
		b.run();
	}

	public void run() { }

	public void badlock() {
		lock = new Object();

		greeb();
		synchronized(lock) {
			makeBleem();
		}

		System.out.println(new String());
	}

	private int yoom;

	public int getYoom() throws InterruptedException {
		Object x = lock;
		synchronized(x) {
			x.notify();
		}

		synchronized (x) {
			x.wait();
		}

		System.out.println(new String("hello"));
		return yoom; }

	public synchronized void setYoom(int y) { yoom = y; }

	public void gimme(java.io.InputStream in) {
	   try {
		byte[] buf = new byte[256];
		in.read(buf);
		System.out.println(new String(buf));
	   } catch (java.io.IOException e) {
	   }
	}

	public void spin() {
		while (lock == null)
			;
	}

	public boolean hasNext() { return false; }
	public Object next() { return null; }
	public void remove() { throw new UnsupportedOperationException(); }

	private long serialVersionUID = 11091284L;

	private static Object[] foobar = new Object[1];

	public static Object[] getFoobar() { return foobar; }
}

@@ -256,32 +256,142 @@
 d run() %7B %7D%0A%09%7D%0A%0A
+%09private static class NotThread %7B%0A%09%09public void start() %7B%0A%09%09%09System.out.println(%22Don't report this%22);%0A%09%09%7D%0A%09%7D%0A%0A
 %09public Blat() %7B
@@ -446,24 +446,51 @@
 ().start();%0A
+%09%09new NotThread().start();%0A
 %09%7D%0A%0A%09public 

Call start() in constructor, but object isn't a thread.