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

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ref/
H A DReferenceTest.java25 Object tmpA, tmpB, obj; field in class:ReferenceTest
30 tmpA = tmpB = obj = null;
37 tmpA = new Object();
39 SoftReference sr = new SoftReference(tmpA, new ReferenceQueue());
47 // Must reference tmpA and tmpB so the jit does not optimize them away
48 assertTrue("should always pass", tmpA != sr.get() && tmpB != wr.get());

Completed in 74 milliseconds