diff --git a/classpath/java/lang/reflect/Method.java b/classpath/java/lang/reflect/Method.java index c84a394b3f..578d2fda6b 100644 --- a/classpath/java/lang/reflect/Method.java +++ b/classpath/java/lang/reflect/Method.java @@ -10,6 +10,7 @@ public class Method extends AccessibleObject implements Member { private byte[] spec; private Class class_; private Object code; + private Object compiled; private Method() { } diff --git a/makefile b/makefile index 092bfb2ad6..7f7b427d58 100644 --- a/makefile +++ b/makefile @@ -24,7 +24,7 @@ else ld-library-path = LD_LIBRARY_PATH endif -process=interpret +process = interpret mode = debug diff --git a/src/interpret.cpp b/src/interpret.cpp index f08ba49ade..3b51924565 100644 --- a/src/interpret.cpp +++ b/src/interpret.cpp @@ -3018,6 +3018,12 @@ class MyProcessor: public Processor { return new (s->allocate(sizeof(Thread))) Thread(m, javaThread, parent); } + virtual object + methodStub(vm::Thread*) + { + return 0; + } + virtual void visitObjects(vm::Thread* vmt, Heap::Visitor* v) {