Skip to content

Prevent Assertion Fail Caused by Incorrect numDeps - #20211

Merged
hzongaro merged 1 commit into
eclipse-openj9:masterfrom
luke-li-2003:NumDepsFix
Sep 27, 2024
Merged

Prevent Assertion Fail Caused by Incorrect numDeps#20211
hzongaro merged 1 commit into
eclipse-openj9:masterfrom
luke-li-2003:NumDepsFix

Conversation

@luke-li-2003

Copy link
Copy Markdown
Contributor

Changed the numDeps parameter so that it is always greater or equal to the number of post conditions added. Avoiding the assertion TR_ASSERT(newCursor <= _numPostConditions, "Too many dependencies"); being triggered.

Changed the numDeps parameter so that it is always greater or
equal to the number of post conditions added. Avoiding the assertion
`TR_ASSERT(newCursor <= _numPostConditions, "Too many dependencies");`
being triggered.

Signed-off-by: Luke Li <luke.li@ibm.com>
@luke-li-2003

Copy link
Copy Markdown
Contributor Author

@hzongaro Can you review this for me?

@hzongaro
hzongaro self-requested a review September 25, 2024 18:15
@hzongaro hzongaro self-assigned this Sep 25, 2024
@hzongaro

Copy link
Copy Markdown
Member

@BradleyWood, may I ask you to review this pull request?

@hzongaro

Copy link
Copy Markdown
Member

Jenkins test sanity.functional xlinux,xmac,win jdk8,jdk21

@hzongaro

Copy link
Copy Markdown
Member

x86-64 Linux JDK 8 sanity.functional test failure appears to be due to known issue #18599. All other testing was successful. Merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

3 participants