This will remove the {@link File read lock file} in{@link LockAdviser#readLocks} that represents the read lock.
126127128129130131132133134135136
assertNotNull(wlock1); assertNull(wlock2); try { lockAdviser.releaseWriteLock(wlock1); } catch (Exception e) { e.printStackTrace(); fail(e.getMessage()); }