commit | 2cff86c0c10588a35036fe5bbca83b07f53e1b1d | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri May 20 17:21:50 2011 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri May 20 17:21:50 2011 -0700 |
tree | 59dd54b8219fb152d39f4091838c0b8a6163dae2 | |
parent | 5c3bf9578b9f6c49da8b72e2e7fb9e33a27c124f [diff] |
Add a missing parameter check to FileChannel. If we were rewriting this from scratch, we might want to leave these kinds of checks to the kernel and just rethrow an appropriate exception when the kernel complains. But for now, let's at least be consistent. Change-Id: I31c4d13d033c8f46a632622f1a2ce3f44a6c5701