Lines Matching refs:FinalizerTest
39 public static WeakReference<FinalizerTest> makeRef() { in makeRef()
40 FinalizerTest ft = new FinalizerTest("wahoo"); in makeRef()
41 WeakReference<FinalizerTest> ref = new WeakReference<FinalizerTest>(ft); in makeRef()
46 public static String wimpString(final WeakReference<FinalizerTest> wimp) { in wimpString()
56 FinalizerTest ref = wimp.get(); in wimpString()
75 WeakReference<FinalizerTest> wimp = makeRef(); in main()
82 FinalizerTest keepLive = wimp.get(); in main()
99 System.out.println("reborn: " + FinalizerTest.mReborn); in main()
103 FinalizerTest.mReborn = FinalizerTest.mNothing; in main()
111 System.out.println("reborn: " + FinalizerTest.mReborn); in main()
173 public static class FinalizerTest { class in Main
174 public static FinalizerTest mNothing = new FinalizerTest("nothing");
175 public static FinalizerTest mReborn = mNothing;
180 public FinalizerTest(String message) { in FinalizerTest() method in Main.FinalizerTest