Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
/ jdk16u Public archive

Commit

Permalink
8259049: Uninitialized variable after JDK-8257513
Browse files Browse the repository at this point in the history
Reviewed-by: kvn
Backport-of: 9f1516492c20f52f249d7389f4058d8978faed9f
  • Loading branch information
TobiHartmann committed Feb 2, 2021
1 parent 96f427f commit c059d74
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 c059d74

@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.