X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=blobdiff_plain;f=src%2Ftests%2FCallTest.java;fp=src%2Ftests%2FCallTest.java;h=e0c97321bbfb82acaea27907fa88eaff5d2e0012;hp=0e56a5f40c5eb053ad2a56beb873509a18f3af01;hb=ae52817e5cb153f781b76f5d525e127f217b5482;hpb=c2b2704764af1ade923ba8f15d517b87f9d16189 diff --git a/src/tests/CallTest.java b/src/tests/CallTest.java index 0e56a5f..e0c9732 100644 --- a/src/tests/CallTest.java +++ b/src/tests/CallTest.java @@ -1,9 +1,7 @@ package tests; -import org.xwt.mips.Runtime; -import org.xwt.mips.Interpreter; +import org.ibex.nestedvm.Runtime; import java.io.*; -import java.util.*; public class CallTest { public static void main(String[] args) throws Exception { @@ -17,8 +15,9 @@ public class CallTest { System.out.println("Version is: " + System.getProperty("os.version")); Runtime rt; if(a1 == 99) // yeah.. this is ugly - rt = new Interpreter("build/tests/Test.mips"); + rt = new org.ibex.nestedvm.Interpreter("build/tests/Test.mips"); else + //FIXME: Callback not subclass rt = new Test() { protected int callJava(int a, int b, int c, int d) { switch(a) {