summaryrefslogtreecommitdiffstats
path: root/libjava/gnu/java/nio/channels
Commit message (Collapse)AuthorAgeFilesLines
* 2004-05-04 Mark Wielaard <mark@klomp.org>mkoch2004-05-041-0/+5
| | | | | | | | * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81469 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-04-23 Michael Koch <konqueror@gmx.de>mkoch2004-04-231-40/+25
| | | | | | | | | | | | * gnu/java/nio/channels/FileChannelImpl.java (SET, CUR): Unused, removed. (read): Implement here directly. (implRead): Removed. (write): Implement here directly. (implWrite): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81079 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-04-20 Michael Koch <konqueror@gmx.de>mkoch2004-04-201-27/+42
| | | | | | | | | | | | | | | | | | | | | * gnu/java/nio/FileLockImpl.java (static): Removed, not needed anymore. * gnu/java/nio/channels/FileChannelImpl.java (FileChannelImpl): Made final. (mode): Made private. (READ, WRITE, APPEND): Made public. (EXCL, SYNC, DSYNC): Likewise. (static): Load native JNI library, when needed. (length): Unused, removed. (available): Made public. (implPosition): Throws IOException. (seek): Likewise. (implTruncate): Likewise. (unlock): Likewise. (lock): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80891 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: FILE variable overrides FLATFORM when linkingbothner2004-03-201-2/+18
| | | | | | | | | | natFileChannelXXX.cc. * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored. (write): Call diag_write, as in old natFileDescriptorEcos.cc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79731 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Castro2004-03-181-1/+1
| | | | | | | MAP_FAILED to void *. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79627 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>andreast2004-03-131-2/+22
| | | | | | | | | | * gnu/java/nio/channels/natFileChannelPosix.cc: Implement munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs. (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor. (MappedByteBufferImpl::forceImpl): Use msync_adptor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79462 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-03-11 Michael Koch <konqueror@gmx.de>mkoch2004-03-111-46/+63
| | | | | | | | | * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked. This file was was just copied form java/io/natFileDescriptorEcos.cc and never changed to compile correctly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79320 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/java/nio/channels/FileChannelImpl.java: New class, renamedbothner2004-02-294-0/+1533
from java/nio/channels. Don't depend on FileDescriptor. (in, out, err): New static fields. (mode): New field. (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants from FileDescriptor. (by): Removed MappedByteBuffer field. (map): New working implementation. * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though some code "ported" from natFileDescriptoPosix.cc. * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise. * gnu/java/nio/channels/natFileChannelWin32.cc Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78659 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud