gcc/libjava/gnu/java/nio
Michael Koch baa61e09ef [multiple changes]
2004-07-17  Mark Wielaard  <mark@klomp.org>

	* gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
	when size is smaller.
	* java/io/RandomAccessFile.java (setLength): Use truncate for
	shrinking the file and seek plus write for expanding the file.

2004-07-17  Michael Koch  <konqueror@gmx.de>

	* gnu/java/nio/channels/natFileChannelPosix.cc
	(implTruncate): Always save current position. Only reposition file
	pointer to where we started if not beyond new lenght. Reposition file
	pointer to file length if it points beyond the end of file.

From-SVN: r84868
2004-07-17 13:46:02 +00:00
..
channels [multiple changes] 2004-07-17 13:46:02 +00:00
charset URLStreamHandler.java (toExternalForm): Removed unused variables. 2004-05-03 19:52:29 +00:00
ChannelInputStream.java ChannelInputStream.java: New file. 2003-12-19 19:06:34 +00:00
ChannelOutputStream.java ChannelOutputStream.java: New file. 2003-12-19 20:42:00 +00:00
DatagramChannelImpl.java 2004-02-26 Michael Koch <konqueror@gmx.de> 2004-02-26 17:17:19 +00:00
DatagramChannelSelectionKey.java 2003-09-25 Michael Koch <konqueror@gmx.de> 2003-09-25 21:14:43 +00:00
FileLockImpl.java URLStreamHandler.java (toExternalForm): Removed unused variables. 2004-05-03 19:52:29 +00:00
InputStreamChannel.java InputStreamChannel.java: New file. 2003-12-19 15:22:33 +00:00
natNIOServerSocket.cc NIOSocket.java (setChannel): Initialize impl. 2003-10-11 18:01:35 +00:00
natPipeImplEcos.cc natPipeImpl.cc, [...]: Removed 2003-11-11 11:49:12 +00:00
natPipeImplPosix.cc natPipeImpl.cc, [...]: Removed 2003-11-11 11:49:12 +00:00
natPipeImplWin32.cc natPipeImpl.cc, [...]: Removed 2003-11-11 11:49:12 +00:00
natSelectorImplEcos.cc natPipeImpl.cc, [...]: Removed 2003-11-11 11:49:12 +00:00
natSelectorImplPosix.cc * gnu/java/nio/SocketChannelImpl.java 2003-12-11 15:35:13 +00:00
natSelectorImplWin32.cc win32.cc (WSAEventWrapper): Implemented default constructor and init() methods. 2003-12-16 22:54:22 +00:00
NIOConstants.java 2003-09-25 Michael Koch <konqueror@gmx.de> 2003-09-25 10:17:00 +00:00
NIODatagramSocket.java 2003-11-22 Michael Koch <konqueror@gmx.de> 2003-11-22 15:13:01 +00:00
NIOServerSocket.java 2004-02-05 Michael Koch <konqueror@gmx.de> 2004-02-05 15:57:01 +00:00
NIOSocket.java 2003-11-22 Michael Koch <konqueror@gmx.de> 2003-11-22 15:13:01 +00:00
OutputStreamChannel.java OutputStreamChannel.java: New file. 2003-12-19 16:31:59 +00:00
PipeImpl.java 2004-03-11 Michael Koch <konqueror@gmx.de> 2004-03-11 08:49:29 +00:00
SelectionKeyImpl.java re PR java/12426 (gcj allows access to private members from superclass) 2003-09-26 22:02:05 +00:00
SelectorImpl.java SelectorImpl.java (select): Call static Thread interrupted() method to clear interupt flag of our Thread. 2004-07-09 13:56:08 +00:00
SelectorProviderImpl.java 2003-10-12 Michael Koch <konqueror@gmx.de> 2003-10-12 13:39:07 +00:00
ServerSocketChannelImpl.java * gnu/java/net/PlainSocketImpl.java 2004-01-30 13:43:21 +00:00
ServerSocketChannelSelectionKey.java SelectorImpl.java (register): Use ServerSocketChannelSelectionKey for server socket channels... 2003-10-09 18:01:08 +00:00
SocketChannelImpl.java URLStreamHandler.java (toExternalForm): Removed unused variables. 2004-05-03 19:52:29 +00:00
SocketChannelSelectionKey.java 2003-09-25 Michael Koch <konqueror@gmx.de> 2003-09-25 21:14:43 +00:00