]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Obvious fix for systems with no interpreter.
authorAnthony Green <green@redhat.com>
Fri, 24 Oct 2003 18:27:29 +0000 (18:27 +0000)
committerAnthony Green <green@gcc.gnu.org>
Fri, 24 Oct 2003 18:27:29 +0000 (18:27 +0000)
From-SVN: r72903

libjava/ChangeLog
libjava/java/lang/natClass.cc

index 72b4d6cb6476651d9304270b671dd49895ac44a7..4636da0279e8f3d28b674a337db12bb9db9404c4 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-24  Anthony Green  <green@redhat.com>
+
+       * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
+       we have no interpreter.
+
 2003-10-22  Andrew Haley  <aph@redhat.com>
 
        * java/lang/natClass.cc (initializeClass): Call
index 2d80ce2133b49a9cd4392a18bef95d38488b6a51..2e1f9da74cb0b0c20824d02848364b741850753d 100644 (file)
@@ -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;