Searched refs:tmpA (Results 1 - 1 of 1) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
H A DReferenceTest.java28 Object tmpA, tmpB, tmpC, obj; field in class:ReferenceTest
59 tmpA = tmpB = obj = null;
66 tmpA = new Object();
69 SoftReference sr = new SoftReference(tmpA, new ReferenceQueue());
81 // Must reference tmpA and tmpB so the jit does not optimize them away
82 assertTrue("should always pass", tmpA != sr.get() && tmpB != wr.get());

Completed in 4 milliseconds