< prev index next >
src/share/vm/classfile/compactHashtable.cpp
Print this page
rev 9081 : imported patch more.patch
@@ -420,22 +420,22 @@
return _prefix_type;
}
int HashtableTextDump::scan_string_prefix() {
// Expect /[0-9]+: /
- int utf8_length;
+ int utf8_length = 0;
get_num(':', &utf8_length);
if (*_p != ' ') {
corrupted(_p, "Wrong prefix format for string");
}
_p++;
return utf8_length;
}
int HashtableTextDump::scan_symbol_prefix() {
// Expect /[0-9]+ (-|)[0-9]+: /
- int utf8_length;
+ int utf8_length = 0;
get_num(' ', &utf8_length);
if (*_p == '-') {
_p++;
}
int ref_num;
< prev index next >