diff options
| author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-05-10 10:37:16 +0000 |
|---|---|---|
| committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-05-10 10:37:16 +0000 |
| commit | 9395e1ee61176aa07a4c3a519f70d950c5c99527 (patch) | |
| tree | 1adc10f6b23ea89f0e02049f1a10ec95f084c1e6 /libjava/java | |
| parent | 495283d86b4cdc85bb3627c1c24a40aee2bc8e31 (diff) | |
| download | ppe42-gcc-9395e1ee61176aa07a4c3a519f70d950c5c99527.tar.gz ppe42-gcc-9395e1ee61176aa07a4c3a519f70d950c5c99527.zip | |
* java/io/RandomAccessFile.java (RandomAccessFile): Removed
`FIXME' comment.
(readLine): Likewise.
(readFully): Implemented.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26859 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java')
| -rw-r--r-- | libjava/java/io/RandomAccessFile.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libjava/java/io/RandomAccessFile.java b/libjava/java/io/RandomAccessFile.java index d240e0df439..79dcec5104a 100644 --- a/libjava/java/io/RandomAccessFile.java +++ b/libjava/java/io/RandomAccessFile.java @@ -17,7 +17,7 @@ package java.io; /* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3 * "The Java Language Specification", ISBN 0-201-63451-1 - * Status: not finished + * Status: Believe complete and correct to 1.1. */ public class RandomAccessFile implements DataOutput, DataInput @@ -63,7 +63,6 @@ public class RandomAccessFile implements DataOutput, DataInput } fd = new FileDescriptor (fileName, fdmode); - // FIXME: read-only mode. out = new DataOutputStream (new FileOutputStream (fd)); in = new DataInputStream (new FileInputStream (fd)); } @@ -115,13 +114,13 @@ public class RandomAccessFile implements DataOutput, DataInput public final void readFully (byte[] buffer) throws IOException { - // FIXME. + in.readFully(buffer); } public final void readFully (byte[] buffer, int offset, int count) throws IOException { - // FIXME. + in.readFully(buffer, offset, count); } public final int readInt () throws IOException @@ -131,7 +130,6 @@ public class RandomAccessFile implements DataOutput, DataInput public final String readLine () throws IOException { - // FIXME? return in.readLine(); } |

