[armedbear-cvs] r11981 - trunk/abcl/src/org/armedbear/lisp/util
Erik Huelsmann
ehuelsmann at common-lisp.net
Mon Jun 1 19:15:37 UTC 2009
Author: ehuelsmann
Date: Mon Jun 1 15:15:33 2009
New Revision: 11981
Log:
Override PushbackReader.ready() too [in RACF]: the standard
implementation uses a synchronized call on a buffer we don't use.
Modified:
trunk/abcl/src/org/armedbear/lisp/util/RandomAccessCharacterFile.java
Modified: trunk/abcl/src/org/armedbear/lisp/util/RandomAccessCharacterFile.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/util/RandomAccessCharacterFile.java (original)
+++ trunk/abcl/src/org/armedbear/lisp/util/RandomAccessCharacterFile.java Mon Jun 1 15:15:33 2009
@@ -218,6 +218,11 @@
public final int read(char[] cb, int off, int len) throws IOException {
return RandomAccessCharacterFile.this.read(cb, off, len);
}
+
+ @Override
+ public final boolean ready() throws IOException {
+ return true;
+ }
}
private class RandomAccessWriter extends Writer {
More information about the armedbear-cvs
mailing list