--- jsr166/src/test/tck/ReentrantLockTest.java 2018/01/23 20:44:11 1.68 +++ jsr166/src/test/tck/ReentrantLockTest.java 2018/07/22 22:13:55 1.69 @@ -1160,7 +1160,7 @@ public class ReentrantLockTest extends J await(cond, awaitMethod); throw new AssertionError("should throw"); } - catch (IllegalMonitorStateException expected) {} + catch (IllegalMonitorStateException success) {} catch (Throwable fail) { threadUnexpectedException(fail); }}}; Thread rogueThread = new Thread(rogue, "rogue"); threads.add(rogueThread);