[Bug libgcj/49314] md5test, shatest output FAILs on Tru64 UNIX

ro at CeBiTec dot Uni-Bielefeld.DE gcc-bugzilla@gcc.gnu.org
Thu Jun 16 18:21:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49314

--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-06-16 18:18:59 UTC ---
> It is set when the array is created.
> I would suggest stepping through String::getBytes.

When I do this, I find that the count argument to _Jv_NewPrimArray is
0.  It is read in natString.cc:

jbyteArray java::lang::String::getBytes (jstring enc)

which calls String.java (public int length()).  This just return the
count member.  I couldn't find so far where this is initialized for the
static string src.

    Rainer



More information about the Gcc-bugs mailing list