This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ClassLoader: unexpected exception during linking


Jeff Sturm wrote:

Out of curiosity, does the following help?

Yes - that seems to take care of the problem.

--- natClass.cc 10 Nov 2002 21:07:27 -0000  1.55
+++ natClass.cc 3 Dec 2002 19:47:24 -0000
@@ -1601,7 +1613,7 @@ _Jv_SetVTableEntries (jclass klass, _Jv_
   for (int i = klass->method_count - 1; i >= 0; i--)
     {
       _Jv_Method *meth = &klass->methods[i];
-      if (!isVirtualMethod(meth))
+      if (meth->index == (_Jv_ushort)0xffff)
         continue;
       vtable->set_method(meth->index, meth->ncode);
    }
--
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]