Skip to content

Commit 06cae8a

Browse files
authored
Merge pull request ReadyTalk#548 from corda/chrisr3-log-uncaught-exceptions
Allow any uncaught exception to be logged as the thread exits.
2 parents 0056f28 + e94b191 commit 06cae8a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/classpath-openjdk.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -982,10 +982,6 @@ void uncaughtException(Thread *t, GcThrowable *e)
982982
if (dispatch != NULL) {
983983
THREAD_RESOURCE0(t, {
984984
if (t->exception != NULL) {
985-
// We ignore any exceptions from the uncaught
986-
// exception handler itself.
987-
t->exception = NULL;
988-
989985
// The stack will be unwound when this resource is
990986
// released, which means that uncaughtException()
991987
// will not return. So repeat the thread clean-up here.

0 commit comments

Comments
 (0)