Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mega "simple exceptions testing" issue #1450

Open
wants to merge 7 commits into
base: arith-dev
Choose a base branch
from

Conversation

OlivierBBB
Copy link
Collaborator

No description provided.

@OlivierBBB OlivierBBB linked an issue Oct 23, 2024 that may be closed by this pull request
Comment on lines +72 to +76
if (value != 0) {
assertEquals(
STATIC_FAULT,
bytecodeRunner.getHub().previousTraceSection(2).commonValues.tracedException());
}
Copy link
Collaborator Author

@OlivierBBB OlivierBBB Oct 23, 2024

Choose a reason for hiding this comment

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

CALLCODE can't trigger the staticContextViolationException, only CALL may do so.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

CALL is the only CALL-type instruction that may raise the staticContextViolationException.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mega "simple exceptions testing" issue
2 participants