Skip to content

Commit

Permalink
Revert debug in UncaughtExceptionsTest
Browse files Browse the repository at this point in the history
Debug was added via
ibmruntimes/openj9-openjdk-jdk11#663

The debug isn't useful. Related to
eclipse-openj9/openj9#11930

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
  • Loading branch information
pshipton committed Aug 9, 2023
1 parent fd11223 commit c646285
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/jdk/java/lang/Thread/UncaughtExceptionsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c646285

Please sign in to comment.