gcc/libjava/java
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
..
applet [multiple changes] 2004-06-17 23:43:16 +00:00
awt InvocationEvent.java (dispatch): Synchronize on notifier object before calling notifyAll(). 2004-07-17 08:52:13 +00:00
beans EventHandler.java: Remove debugging statements. 2004-07-14 22:59:24 +00:00
io [multiple changes] 2004-07-17 13:46:02 +00:00
lang jvm.h (namespace jcj): Declare verbose_class_flag 2004-07-07 16:44:12 -07:00
math URLStreamHandler.java (toExternalForm): Removed unused variables. 2004-05-03 19:52:29 +00:00
net [multiple changes] 2004-07-17 11:17:28 +00:00
nio 2004-07-17 Michael Koch <konqueror@gmx.de> 2004-07-17 08:43:43 +00:00
rmi MarshalledObject.java, [...]: Fixed javadoc, coding style and argument names all over. 2004-04-20 14:45:10 +00:00
security Security.java: Fixed javadocs all over. 2004-07-17 08:40:40 +00:00
sql re PR libgcj/16574 (java.sql.Timestamp#toString() does not deal with fractional seconds correctly) 2004-07-15 23:14:45 +01:00
text 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org> 2004-07-17 08:46:14 +00:00
util java.util.Calendar.java (cache): New private static field. 2004-07-10 03:38:55 +01:00