FinalizableReferenceQueueTest.java | 35 private FinalizableReferenceQueue frq; field in class:FinalizableReferenceQueueTest 39 frq = null; 44 frq = new FinalizableReferenceQueue()); 62 MockReference(FinalizableReferenceQueue frq) { 63 super(new Object(), frq); 102 * Create the FRQ in a method that goes out of scope so that we're sure 106 frq = new FinalizableReferenceQueue(); 107 queueReference = new WeakReference<ReferenceQueue<Object>>(frq.queue); 114 reference = new FinalizableWeakReference<Object>(new Object(), frq) { 118 frq = null [all...] |