# | Line 1160 | Line 1160 | public class ReentrantLockTest extends J | |
---|---|---|
1160 | await(cond, awaitMethod); | |
1161 | throw new AssertionError("should throw"); | |
1162 | } | |
1163 | < | catch (IllegalMonitorStateException expected) {} |
1163 | > | catch (IllegalMonitorStateException success) {} |
1164 | catch (Throwable fail) { threadUnexpectedException(fail); }}}; | |
1165 | Thread rogueThread = new Thread(rogue, "rogue"); | |
1166 | threads.add(rogueThread); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |