Skip to content

Commit

Permalink
8259049: Uninitialized variable after JDK-8257513
Browse files Browse the repository at this point in the history
Reviewed-by: kvn, thartmann
  • Loading branch information
chhagedorn committed Jan 5, 2021
1 parent db6f393 commit 9f15164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/opto/constantTable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ bool ConstantTable::emit(CodeBuffer& cb) const {
"must be: %d == %d", (int)(constant_addr - _masm.code()->consts()->start()), (int)(con.offset()));

// Expand jump-table
address last_addr;
address last_addr = NULL;
for (uint j = 1; j < n->outcnt(); j++) {
last_addr = _masm.address_constant(dummy + j);
if (last_addr == NULL) {
Expand Down

1 comment on commit 9f15164

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.