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

Terminate the thread when unhandled exception happens. #476

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

aoli-al
Copy link
Contributor

@aoli-al aoli-al commented Jul 12, 2024

JPF is failing the added test ThreadExceptionTest because it does not terminate a thread when an unhandled exception occurs. This PR fixed this issue by continuing to execute the DIRECTCALLRETURN instruction instead of throwing the UncaughtException.

@cyrille-artho
Copy link
Member

Thanks, this test indeed fails with JPF; even though the exception occurs, the thread state is not handled correctly, as you noted.

@cyrille-artho cyrille-artho merged commit 6233e3b into javapathfinder:master Jul 17, 2024
2 checks passed
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.

2 participants