diff --git a/src/jse/org/luaj/vm2/lib/jse/JseIoLib.java b/src/jse/org/luaj/vm2/lib/jse/JseIoLib.java index 83a7c13c..d00d5db1 100644 --- a/src/jse/org/luaj/vm2/lib/jse/JseIoLib.java +++ b/src/jse/org/luaj/vm2/lib/jse/JseIoLib.java @@ -321,7 +321,7 @@ public class JseIoLib extends IoLib { } public int remaining() throws IOException { - return 0; + return -1; } public int peek() throws IOException, EOFException {