1415161718192021222324
protected void setUp() throws Exception { super.setUp(); ReadWriteLock l=new ReentrantWriterPreferenceReadWriteLock(); rl=l.readLock(); wl=l.writeLock(); } protected void tearDown() throws Exception { super.tearDown(); }