2003-03-20 Michael Koch <konqueror@gmx.de>
authorMichael Koch <konqueror@gmx.de>
Thu, 20 Mar 2003 11:14:35 +0000 (11:14 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Thu, 20 Mar 2003 11:14:35 +0000 (11:14 +0000)
commit54c99af1553e4093dd007c19eff81a7ae55297b3
tree9fe3a88d762e1d449fc098bc9f0bf3f4d473b82f
parent111a007d968c210312c47e990086588a6c3e6599
2003-03-20  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/FileChannelImpl.java
(address): Removed.
(map_address): New member variable.
(length): Make it package private.
(fd): Make it package private.
(buf): Make it package private.
(file_obj): Make it package private.
(FileChannelImpl): New constructor.
(nio_mmap_file): Use RawData instead of long.
(nio_munmap_file): Use RawData instead of long.
(nio_msync): Use RawData instead of long.
(implCloseChannel): New implementation using map_address.
(read): Reformated.
(map): Implemented.
(create_direct_mapped_buffer): Implemented, use RawData, throws
IOException.
(force): Use map_address instead of address.
* gnu/java/nio/MappedByteFileBuffer.java
(address): Removed.
(map_address): New member variable.
(MappedByteFileBuffer): Use map_address instead of address, reformated.
(several methods): Use map_address instead of address, replaced long
with RawData where appropriate.
* gnu/java/nio/natFileChannelImpl.cc
(nio_mmap_file): Replaced long with RawData.
(nio_munmap_file): Replaced long with RawData.
(nio_msync): Replaced long with RawData.
* gnu/java/nio/natMappedByteFileBuffer.cc
(several methods): Replaced long with RawData where appropriate.

From-SVN: r64612
libjava/ChangeLog
libjava/gnu/java/nio/FileChannelImpl.java
libjava/gnu/java/nio/MappedByteFileBuffer.java
libjava/gnu/java/nio/natFileChannelImpl.cc
libjava/gnu/java/nio/natMappedByteFileBuffer.cc