Skip to content

Don't try to format TR_ByteCodeInfo as %p in assertion message - #22630

Merged
dsouzai merged 1 commit into
eclipse-openj9:masterfrom
jdmpapin:inlined-method-relo-type-assert-bci
Sep 17, 2025
Merged

dsouzai merged 1 commit into
eclipse-openj9:masterfrom
jdmpapin:inlined-method-relo-type-assert-bci

Conversation

@jdmpapin

Copy link
Copy Markdown
Contributor

TR_ByteCodeInfo is not a pointer, and as a non-POD type it isn't even supposed to be passed via varargs at all.

Just provide the node to TR_ASSERT_FATAL_WITH_NODE() instead. The bytecode info will be shown when the node is printed.

TR_ByteCodeInfo is not a pointer, and as a non-POD type it isn't even
supposed to be passed via varargs at all.

Just provide the node to TR_ASSERT_FATAL_WITH_NODE() instead. The
bytecode info will be shown when the node is printed.
@jdmpapin

Copy link
Copy Markdown
Contributor Author

@dsouzai, could you please review?

@dsouzai

dsouzai commented Sep 16, 2025

Copy link
Copy Markdown
Contributor

jenkins test sanity.functional all jdk21

@dsouzai dsouzai self-assigned this Sep 16, 2025
@dsouzai
dsouzai merged commit d704930 into eclipse-openj9:master Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants