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

Reply via email to