equal
deleted
inserted
replaced
310 index, |
310 index, |
311 CHECK); |
311 CHECK); |
312 const char* const str = java_lang_String::as_utf8_string(patch()); |
312 const char* const str = java_lang_String::as_utf8_string(patch()); |
313 // (could use java_lang_String::as_symbol instead, but might as well batch them) |
313 // (could use java_lang_String::as_symbol instead, but might as well batch them) |
314 utf8_buffer = (const u1*) str; |
314 utf8_buffer = (const u1*) str; |
315 utf8_length = (int) strlen(str); |
315 utf8_length = (u2) strlen(str); |
316 } |
316 } |
317 |
317 |
318 unsigned int hash; |
318 unsigned int hash; |
319 Symbol* const result = SymbolTable::lookup_only((const char*)utf8_buffer, |
319 Symbol* const result = SymbolTable::lookup_only((const char*)utf8_buffer, |
320 utf8_length, |
320 utf8_length, |