This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/49314] md5test, shatest output FAILs on Tru64 UNIX
- From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Jun 2011 18:21:18 +0000
- Subject: [Bug libgcj/49314] md5test, shatest output FAILs on Tru64 UNIX
- Auto-submitted: auto-generated
- References: <bug-49314-4@http.gcc.gnu.org/bugzilla/>
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