--- a/src/com/onionnetworks/fec/io/FECFile.java.orig 2015-10-18 15:38:26.000000000 +0000 +++ b/src/com/onionnetworks/fec/io/FECFile.java 2015-10-18 16:06:51.159486000 +0000 @@ -10,7 +10,9 @@ import com.onionnetworks.fec.FECCodeFactory; import com.onionnetworks.io.RAF; import com.onionnetworks.util.*; -import EDU.oswego.cs.dl.util.concurrent.*; + +import java.util.concurrent.locks.ReadWriteLock; +import java.util.concurrent.locks.ReentrantReadWriteLock; /** * This class provides the necessary file IO routines to go along with the raw @@ -129,9 +131,9 @@ this.raf = new RAF(f,mode); // synched RandomAccessFile // Create the locks. - locks = new ReadWriteLock[blockCount]; + locks = new ReentrantReadWriteLock[blockCount]; for (int i=0;i