8079825: Uninitialised variable in hotspot/src/share/vm & cpu/x86/vm (runtime)

Initialized local variables in classFileParser.cpp and rframe.cpp

Reviewed-by: dholmes, minqi
This commit is contained in:
Calvin Cheung 2015-07-17 12:07:49 -07:00
parent b02b2c4d5b
commit 84ff1787b7
2 changed files with 10 additions and 8 deletions

View file

@ -2023,10 +2023,10 @@ methodHandle ClassFileParser::parse_method(bool is_interface,
bool lvt_allocated = false;
u2 max_lvt_cnt = INITIAL_MAX_LVT_NUMBER;
u2 max_lvtt_cnt = INITIAL_MAX_LVT_NUMBER;
u2* localvariable_table_length;
u2** localvariable_table_start;
u2* localvariable_type_table_length;
u2** localvariable_type_table_start;
u2* localvariable_table_length = NULL;
u2** localvariable_table_start = NULL;
u2* localvariable_type_table_length = NULL;
u2** localvariable_type_table_start = NULL;
int method_parameters_length = -1;
u1* method_parameters_data = NULL;
bool method_parameters_seen = false;