diff -r 60764a78fa5c -r 8c87ef3e5497 hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp --- a/hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp Fri Oct 23 16:48:38 2015 -0400 +++ b/hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp Fri Oct 23 23:06:53 2015 +0200 @@ -336,7 +336,7 @@ int new_name_and_type_ref_i = find_or_append_indirect_entry(scratch_cp, name_and_type_ref_i, merge_cp_p, merge_cp_length_p, THREAD); - const char *entry_name; + const char *entry_name = NULL; switch (scratch_cp->tag_at(scratch_i).value()) { case JVM_CONSTANT_Fieldref: entry_name = "Fieldref";