Skip to content

Commit 4d79a97

Browse files
[GR-69332] Return UNCAUGHT_EXCEPTION for uncaught exceptions.
PullRequest: graal/22095
2 parents 83e9b1c + 33efe03 commit 4d79a97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/graal/snippets/CEntryPointSnippets.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ private static int tearDownIsolate() {
716716
VMThreads.singleton().freeCurrentIsolateThread();
717717
return CEntryPointErrors.NO_ERROR;
718718
} catch (Throwable t) {
719-
return reportException(t);
719+
return CEntryPointErrors.UNCAUGHT_EXCEPTION;
720720
}
721721
}
722722

0 commit comments

Comments
 (0)