> Jie> But it does not work as we want, is there something wrong? > > Did you rebuild all of libgcj?
Yes. :) > > 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. > The method length() is not a final method, as java/lang/String.java line 447: public int length() { return count; } Is this the problem? Thanks, Jie > Tom >