diff --git a/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/graal/snippets/CEntryPointSnippets.java b/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/graal/snippets/CEntryPointSnippets.java index 4c3dcda6e6c1..1eadbd613e02 100644 --- a/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/graal/snippets/CEntryPointSnippets.java +++ b/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/graal/snippets/CEntryPointSnippets.java @@ -716,7 +716,7 @@ private static int tearDownIsolate() { VMThreads.singleton().freeCurrentIsolateThread(); return CEntryPointErrors.NO_ERROR; } catch (Throwable t) { - return reportException(t); + return CEntryPointErrors.UNCAUGHT_EXCEPTION; } }