Skip to content

Commit 33efe03

Browse files
Return CEntryPointErrors.UNCAUGHT_EXCEPTION for uncaught exceptions in CEntryPointSnippets.tearDownIsolate().
1 parent 4d8b719 commit 33efe03

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)