• R/O
  • SSH
  • HTTPS

mysaifujvm: コミット


コミットメタ情報

リビジョン342 (tree)
日時2010-03-05 23:40:27
作者freebeans

ログメッセージ

2010/03/05 freebeans
*VMChannel.c (Java_gnu_java_nio_VMChannel_readII):Fixed EOF problem.

変更サマリ

差分

--- jvm/trunk/lib/classpath/vm/wce/com/mysaifu/jvm/java/nio/channels/WCESelectorProvider.java (revision 341)
+++ jvm/trunk/lib/classpath/vm/wce/com/mysaifu/jvm/java/nio/channels/WCESelectorProvider.java (revision 342)
@@ -61,9 +61,11 @@
6161 }
6262
6363 @Override
64- public Pipe openPipe() throws IOException
64+ public Pipe openPipe() throws IOException
6565 {
66- return new WCEPipe(this);
66+// return new WCEPipe(this);
67+ // ToDo: implement
68+ throw new UnsupportedOperationException("Not implemented");
6769 }
6870
6971 @Override
--- jvm/trunk/lib/classpath/native/jni/java-nio/gnu_java_nio_vmchannel.c (revision 341)
+++ jvm/trunk/lib/classpath/native/jni/java-nio/gnu_java_nio_vmchannel.c (revision 342)
@@ -982,6 +982,11 @@
982982 GetLastError ());
983983 return -1;
984984 }
985+ if (ret <= 0)
986+ {
987+ // EOF
988+ ret = -1;
989+ }
985990 }
986991 else
987992 {
旧リポジトリブラウザで表示