--- jsr166/src/test/tck/JSR166TestCase.java 2011/05/21 06:24:33 1.81 +++ jsr166/src/test/tck/JSR166TestCase.java 2011/05/24 23:34:03 1.82 @@ -459,7 +459,7 @@ public class JSR166TestCase extends Test else { AssertionFailedError afe = new AssertionFailedError("unexpected exception: " + t); - t.initCause(t); + afe.initCause(t); throw afe; } }