ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ReentrantLockTest.java
(Generate patch)

Comparing jsr166/src/test/tck/ReentrantLockTest.java (file contents):
Revision 1.68 by jsr166, Tue Jan 23 20:44:11 2018 UTC vs.
Revision 1.69 by jsr166, Sun Jul 22 22:13:55 2018 UTC

# 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);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines