Skip to content

Commit

Permalink
Fix reloErrorCodeNames mistake
Browse files Browse the repository at this point in the history
The array of strings for relocation error types was missing a comma
which meant that two entries were considered as one, and most error
codes were misaligned.

Signed-off-by: Marius Pirvu <mpirvu@ca.ibm.com>
  • Loading branch information
mpirvu committed Dec 19, 2022
1 parent 27ccf8f commit 1c1da0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/compiler/runtime/RelocationRuntime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ char *TR_RelocationRuntime::_reloErrorCodeNames[] =
"unknownRelocation", // 3
"unknownReloAction", // 4
"invalidRelocation", // 5
"exceptionThrown" // 6
"exceptionThrown", // 6

"methodEnterValidationFailure", // 7
"methodExitValidationFailure", // 8
Expand Down

0 comments on commit 1c1da0c

Please sign in to comment.