From 1207989f723d2fff1c939bce442c686a7ac999c7 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Wed, 26 Sep 2007 08:43:40 -0600 Subject: [PATCH] fix build and runtime bugs introduced in last commit --- classpath/java/lang/reflect/Method.java | 1 + makefile | 2 +- src/interpret.cpp | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) 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) {