Searched refs:thr1 (Results 1 – 3 of 3) sorted by relevance
36 TestThread1 thr1; field in OldObjectTest120 thr1 = new TestThread1(TestThread1.CASE_WAIT); in test_wait()122 thr1.start(); in test_wait()125 thr1.join(); in test_wait()126 thr1 = null; in test_wait()170 thr1.interrupt(); in run()186 thr1 = new TestThread1(TestThread1.CASE_WAIT_LONG_INT); in test_waitJI()188 thr1.start(); in test_waitJI()191 thr1.join(); in test_waitJI()192 thr1 = null; in test_waitJI()[all …]
120 Throwable thr1 = new Throwable(npe); in test_setStackTrace() local121 thr1.setStackTrace(ste); in test_setStackTrace()122 assertEquals(ste.length, thr1.getStackTrace().length); in test_setStackTrace()
401 Thread thr1 = new Thread () { in test_removeShutdownHookLjava_lang_Thread() local412 Runtime.getRuntime().addShutdownHook(thr1); in test_removeShutdownHookLjava_lang_Thread()413 Runtime.getRuntime().removeShutdownHook(thr1); in test_removeShutdownHookLjava_lang_Thread()