From 33efe03eefabdfda59925d6afb49aa417828842f Mon Sep 17 00:00:00 2001 From: Christian Haeubl Date: Tue, 9 Sep 2025 10:14:31 +0200 Subject: [PATCH] Return CEntryPointErrors.UNCAUGHT_EXCEPTION for uncaught exceptions in CEntryPointSnippets.tearDownIsolate(). --- .../com/oracle/svm/core/graal/snippets/CEntryPointSnippets.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }