2003-02-13 Michael <konqueror@gmx.de>
authorMichael Koch <konqueror@gmx.de>
Thu, 13 Feb 2003 15:12:36 +0000 (15:12 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Thu, 13 Feb 2003 15:12:36 +0000 (15:12 +0000)
commit6b603eb999cdf19bb27cdaf7b3433582d1c04356
treecf78c09f1e56f59310d3207edba02250289dbb99
parente0d9cc77707ce56f0661cc6ac95ab19ec96e2ecc
2003-02-13  Michael  <konqueror@gmx.de>

* gnu/java/nio/FileChannelImpl.java
(lengthInternal): Must be native.
(size): Check if channel is already closed.
(implCloseChannel): Reformated.
(read): w was unused, removed it.
(read): Removed.
(read): New method.
(write): New method.
(map): Check arguments.
(force): Throws IOException, check if channel is closed.
(transferTo): New method.
(transferFrom): New method.
(lock): New method.
(tryLock): New method.
(position): New method.
(truncate): New method.
(nio_mmap_file): Uncommented.
(nio_munmap_file): Uncommented.
(nio_msync): Uncommented.
* gnu/java/nio/natFileChannelImpl.cc: New file.

From-SVN: r62841
libjava/ChangeLog
libjava/gnu/java/nio/FileChannelImpl.java
libjava/gnu/java/nio/natFileChannelImpl.cc [new file with mode: 0644]