diff options
author | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-24 18:27:29 +0000 |
---|---|---|
committer | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-24 18:27:29 +0000 |
commit | 98a63f99ef4d9ddfca7beab4276c0846089698fb (patch) | |
tree | eac460e10154fbf3e9859c193618430a04df685e /libjava/java/lang | |
parent | 333739903c924e90a8c1a3382d0517ef2a6085c7 (diff) | |
download | ppe42-gcc-98a63f99ef4d9ddfca7beab4276c0846089698fb.tar.gz ppe42-gcc-98a63f99ef4d9ddfca7beab4276c0846089698fb.zip |
Obvious fix for systems with no interpreter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72903 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/lang')
-rw-r--r-- | libjava/java/lang/natClass.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/java/lang/natClass.cc b/libjava/java/lang/natClass.cc index 2d80ce2133b..2e1f9da74cb 100644 --- a/libjava/java/lang/natClass.cc +++ b/libjava/java/lang/natClass.cc @@ -1698,9 +1698,11 @@ _Jv_LinkSymbolTable(jclass klass) { if (meth->ncode) // Maybe abstract? klass->atable->addresses[index] = meth->ncode; +#ifdef INTERPRETER else if (_Jv_IsInterpretedClass (target_class)) _Jv_Defer_Resolution (target_class, meth, &klass->atable->addresses[index]); +#endif } else klass->atable->addresses[index] = (void *)_Jv_ThrowNoSuchMethodError; |