@SuppressWarnings("deprecation")
    private static void signalError(final LinkedList<java.lang.Thread> threads) {
	java.lang.Thread currentThread = java.lang.Thread.currentThread();
	for (java.lang.Thread t : threads)
	    if (t != currentThread && t.isAlive()) {
		t.interrupt();
		try {
		    java.lang.Thread.sleep(100);
		} catch (InterruptedException e) {
		    assert true; // ignore
		}
		AssertionError assertionError = new AssertionError(t.getName()
			+ " killed by " + currentThread.getName());
		StackTraceElement[] stackTrace = t.getStackTrace();
		if (stackTrace != null)
		    assertionError.setStackTrace(stackTrace);
		if (t.isAlive())
		    t.stop(assertionError);
	    }
    }