From 95152a63eea528f5522bb96999c16b3b4ea2f52e Mon Sep 17 00:00:00 2001 From: Codrut Stancu Date: Fri, 20 Dec 2024 12:17:32 +0100 Subject: [PATCH] Refactor UnsupportedFeatures reporting. --- .../oracle/graal/pointsto/constraints/UnsupportedFeatures.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substratevm/src/com.oracle.graal.pointsto/src/com/oracle/graal/pointsto/constraints/UnsupportedFeatures.java b/substratevm/src/com.oracle.graal.pointsto/src/com/oracle/graal/pointsto/constraints/UnsupportedFeatures.java index ce22ad98076a..9f8409c01920 100644 --- a/substratevm/src/com.oracle.graal.pointsto/src/com/oracle/graal/pointsto/constraints/UnsupportedFeatures.java +++ b/substratevm/src/com.oracle.graal.pointsto/src/com/oracle/graal/pointsto/constraints/UnsupportedFeatures.java @@ -112,7 +112,7 @@ public void report(BigBang bb) { printStream.println(); } if (!singleEntry) { - if (entry.originalException != null && !(entry.originalException instanceof UnsupportedFeatureException)) { + if (entry.originalException != null) { printStream.print("Original exception that caused the problem: "); entry.originalException.printStackTrace(printStream); }