Skip to content

Commit

Permalink
Merge pull request #690 from pshipton/revuncaught
Browse files Browse the repository at this point in the history
Revert debug in UncaughtExceptionsTest
  • Loading branch information
keithc-ca committed Aug 9, 2023
2 parents fd11223 + c646285 commit 7234788
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 7234788

Please sign in to comment.