> If you did, then I don't know, you'll have to debug it, sorry.
>
> I vaguely recollect that -fcheck-references adds a check for 'this' at
> the start of final methods.  If I'm misremembering, then that is
> probably the problem.

In my debug, there appears no check for 'this' at start of String.length():

(gdb) s
java::lang::VMDouble::parseDouble (str=0x0)
    at ../../../gcc-trunk/libjava/java/lang/natVMDouble.cc:165
165       int length = str->length();
(gdb) s
java.lang.String.length()int (this=@336e44)
    at /mnt/gcj/gcj-rtems-work/gcc-trunk/libjava/java/lang/String.java:451
451         return count;
(gdb) p count
$5 = -268370093
(gdb) p this
$6 = (java.lang.String *) 0x0

Thanks,
Jie

Reply via email to