ClassLoader: unexpected exception during linking
Per Bothner
per@bothner.com
Wed Dec 4 20:26:00 GMT 2002
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/
More information about the Java
mailing list