Java: fixes for -fno-assume-compiled
Tom Tromey
tromey@redhat.com
Mon Dec 16 09:26:00 GMT 2002
>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:
I don't really have a problem with this patch.
Jeff> + // If superclass looks like a constant pool entry,
Jeff> + // resolve it now.
Jeff> + if ((int) klass->superclass < pool->size)
Jeff> + klass->superclass = pool->data[(int) klass->superclass].clazz;
Yuck.
Both sides of the comparison should be unsigned, shouldn't they?
Could we add a flag somewhere instead?
Tom
More information about the Java-patches
mailing list