package mjava.io;

import mjava.lang.MString;

public class SimpleInputStream {

	static {
		System.loadLibrary("SimpleInputStream");
	}

	public native boolean hasnextLine();

	public native char[] readLine();

	public static void run() {

		SimpleInputStream sis = new SimpleInputStream();
		SimpleOutputStream sos = new SimpleOutputStream();

		while (sis.hasnextLine()) {
			char s[] = sis.readLine();
			sos.write(new MString(s));
		}

	}
}

@@ -402,16 +402,91 @@
 e();%0A%09%09%09
+System.out.println(new String(s));%0A%09%09%09%0A%09%09%09%0A%09%09%09// %E4%B8%8B%E9%9D%A2%E8%BF%99%E8%A1%8C%E4%BB%A3%E7%A0%81%E6%80%BB%E6%98%AF%E4%B8%8D%E6%98%BE%E7%A4%BA%E4%B8%9C%E8%A5%BF%EF%BC%8Cwhy%EF%BC%9F%EF%BC%9F%EF%BC%9F%0A%09%09%09//
 sos.writ
@@ -504,16 +504,24 @@
 ng(s));%0A
+%09%09%09%0A%09%09%09%0A
 %09%09%7D%0A%0A%09%7D%0A

Update SimpleInputStream.java