[kaffe] CVS kaffe (jim): Add unimplemented java.io.RandomAccessFile.setLength(int) method

Kaffe CVS cvs-commits at kaffe.org
Fri Aug 29 15:58:02 PDT 2003


PatchSet 3995 
Date: 2003/08/29 22:37:24
Author: jim
Branch: HEAD
Tag: (none) 
Log:
	Add unimplemented java.io.RandomAccessFile.setLength(int) method
	(need for compiling ant from CVS).

Members: 
	ChangeLog:1.1591->1.1592 
	libraries/javalib/java/io/RandomAccessFile.java:1.21->1.22 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1591 kaffe/ChangeLog:1.1592
--- kaffe/ChangeLog:1.1591	Fri Aug 29 21:57:10 2003
+++ kaffe/ChangeLog	Fri Aug 29 22:37:24 2003
@@ -1,5 +1,11 @@
 2003-08-29  Jim Pick  <jim at kaffe.org>
 
+	* libraries/javalib/java/io/RandomAccessFile.java:
+	Add unimplemented java.io.RandomAccessFile.setLength(int) method
+	(need for compiling ant from CVS).
+
+2003-08-29  Jim Pick  <jim at kaffe.org>
+
 	* kaffe/kaffe/main.c:
 	Add support for -Xbootclasspath/p: option.  Lazily not implementing
 	-Xbootclasspath: and -Xbootclasspath/a: for now.
Index: kaffe/libraries/javalib/java/io/RandomAccessFile.java
diff -u kaffe/libraries/javalib/java/io/RandomAccessFile.java:1.21 kaffe/libraries/javalib/java/io/RandomAccessFile.java:1.22
--- kaffe/libraries/javalib/java/io/RandomAccessFile.java:1.21	Wed Apr  2 22:30:12 2003
+++ kaffe/libraries/javalib/java/io/RandomAccessFile.java	Fri Aug 29 22:37:25 2003
@@ -50,6 +50,11 @@
 
 native public long length() throws IOException;
 
+public void setLength(long newLen) throws IOException
+{
+	throw new Error("Not implemented");
+}
+
 native private void open(String name, boolean rw);
 
 native public int read() throws IOException;




More information about the kaffe mailing list