Searched refs:writeOnlyChannel (Results 1 – 1 of 1) sorted by relevance
40 private FileChannel writeOnlyChannel; field in FileChannelLockingTest67 writeOnlyChannel = fileOutputStream.getChannel(); in setUp()78 if (writeOnlyChannel != null) { in tearDown()79 writeOnlyChannel.close(); in tearDown()97 writeOnlyChannel.lock(1, 10, true); in test_illegalLocks()121 writeOnlyChannel.lock(-1, 10, false); in test_illegalLockParameters()