mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux
Reviewed-by: stuefe, coleenp, roland
This commit is contained in:
parent
f21d1afd70
commit
83b3b21342
40 changed files with 129 additions and 124 deletions
|
@ -336,7 +336,7 @@ void VM_RedefineClasses::append_entry(constantPoolHandle scratch_cp,
|
|||
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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue