question: public void threadRecordFailure ( Throwable t ) { threadFailure . compareAndSet ( null , t ) ; }
target:  Records an exception so that it can be rethrown later in the test harness thread, triggering a test case failure.  Only the first failure is recorded; subsequent calls to this method from within the same test have no effect.