X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=blobdiff_plain;f=src%2Ftests%2FEcho.java;h=670b818d09833f1535b20bb9206d2d0fc7f3c332;hp=6ef97aeb1dd579e5495b1a7c9621145a9a7049ba;hb=b11e7c6c29f2b5f7b0828bf93eb741c4a30ec411;hpb=5af4aeea72712e4afad2b692c2fa2d1b2aa02d86 diff --git a/src/tests/Echo.java b/src/tests/Echo.java index 6ef97ae..670b818 100644 --- a/src/tests/Echo.java +++ b/src/tests/Echo.java @@ -1,3 +1,7 @@ +// Copyright 2000-2005 the Contributors, as shown in the revision logs. +// Licensed under the Apache License 2.0 ("the License"). +// You may not use this file except in compliance with the License. + package tests; import java.net.*; @@ -22,8 +26,8 @@ public class Echo { task.closeFD(0); task.closeFD(1); //task.closeFD(2); - task.addFD(new Runtime.InputStreamFD(sock.getInputStream())); - task.addFD(new Runtime.OutputStreamFD(sock.getOutputStream())); + task.addFD(new Runtime.InputOutputStreamFD(sock.getInputStream())); + task.addFD(new Runtime.InputOutputStreamFD(sock.getOutputStream())); //task.dupFD(1); int status = task.run(new String[]{"EchoHelper"} );