projects
/
nestedvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add /cygdrive support
[nestedvm.git]
/
src
/
tests
/
Env.java
diff --git
a/src/tests/Env.java
b/src/tests/Env.java
index
59048b5
..
a22f6a8
100644
(file)
--- a/
src/tests/Env.java
+++ b/
src/tests/Env.java
@@
-1,7
+1,10
@@
+// Copyright 2000-2005 the Contributors, as shown in the revision logs.
+// Licensed under the Apache Public Source License 2.0 ("the License").
+// You may not use this file except in compliance with the License.
+
package tests;
package tests;
-import org.xwt.mips.Runtime;
-import org.xwt.mips.Interpreter;
+import org.ibex.nestedvm.Runtime;
class Env {
public static void main(String[] args) throws Exception {
class Env {
public static void main(String[] args) throws Exception {
@@
-21,7
+24,7
@@
class Env {
Runtime rt;
if(className.endsWith(".mips")) {
Runtime rt;
if(className.endsWith(".mips")) {
- rt = new Interpreter(className);
+ rt = new org.ibex.nestedvm.Interpreter(className);
} else {
Class c = Class.forName(className);
if(!Runtime.class.isAssignableFrom(c)) { System.err.println(className + " isn't a MIPS compiled class"); System.exit(1); }
} else {
Class c = Class.forName(className);
if(!Runtime.class.isAssignableFrom(c)) { System.err.println(className + " isn't a MIPS compiled class"); System.exit(1); }