equal
deleted
inserted
replaced
42 boolean catchFinalizer = false; |
42 boolean catchFinalizer = false; |
43 |
43 |
44 /* Instances are only created in an auxiliary thread, in order to |
44 /* Instances are only created in an auxiliary thread, in order to |
45 guard against stray references from the current thread's stack |
45 guard against stray references from the current thread's stack |
46 */ |
46 */ |
47 static public void create(final boolean catchFinalizer) |
47 public static void create(final boolean catchFinalizer) |
48 throws InterruptedException |
48 throws InterruptedException |
49 { |
49 { |
50 Thread t = new Thread(new Runnable() { |
50 Thread t = new Thread(new Runnable() { |
51 public void run() { |
51 public void run() { |
52 new Foo(catchFinalizer); |
52 new Foo(catchFinalizer); |