Commit 55f4e649 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

Fix bogus fix in FileChannelImpl.

We should truncate if the requested size is *less* than the
file size, not greater.

Also update test expectations for Channels from appendable
FileOutputStreams. They must be positioned at the end of the file.

Change-Id: I214e9f1ed8d1833c85a801e96191ff61998a2d5b
parent 03199956
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment