From c64628570db419797ab1c48d4abe60d342c4cb5c Mon Sep 17 00:00:00 2001 From: Peter Shipton Date: Wed, 9 Aug 2023 14:16:03 -0400 Subject: [PATCH] Revert debug in UncaughtExceptionsTest Debug was added via https://github.com/ibmruntimes/openj9-openjdk-jdk11/pull/663 The debug isn't useful. Related to https://github.com/eclipse-openj9/openj9/issues/11930 Signed-off-by: Peter Shipton --- test/jdk/java/lang/Thread/UncaughtExceptionsTest.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/jdk/java/lang/Thread/UncaughtExceptionsTest.java b/test/jdk/java/lang/Thread/UncaughtExceptionsTest.java index f1bcdfd6881..552dfd3253a 100644 --- a/test/jdk/java/lang/Thread/UncaughtExceptionsTest.java +++ b/test/jdk/java/lang/Thread/UncaughtExceptionsTest.java @@ -93,12 +93,7 @@ class UncaughtExitSimulator extends Thread implements Runnable { public static void throwRuntimeException() { throw new RuntimeException("simulateUncaughtExitEvent"); } - public void run() { - if (!Thread.currentThread().getName().equals("Thread-0")) { - com.ibm.jvm.Dump.SystemDump(); - } - throwRuntimeException(); - } + public void run() { throwRuntimeException(); } /** * A thread is never alive after you've join()ed it.