OSDN Git Service

2003-03-20 Michael Koch <konqueror@gmx.de>
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Mar 2003 11:14:35 +0000 (11:14 +0000)
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Mar 2003 11:14:35 +0000 (11:14 +0000)
commitdadab084821ab678e4dce4c4faf1f76c7d86e92f
tree9fe3a88d762e1d449fc098bc9f0bf3f4d473b82f
parent8c10f814b621d4dd5284e911aafc01f2f86e6d02
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64612 138bc75d-0d04-0410-961f-82ee72b054a4
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