8255681: print callstack in error case in runAWTLoopWithApp

Reviewed-by: clanger, serb
This commit is contained in:
Matthias Baesken 2020-11-04 07:44:43 +00:00
parent c7a2c24529
commit ab9192e463

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -334,6 +334,7 @@ AWT_ASSERT_APPKIT_THREAD;
[app run];
} @catch (NSException* e) {
NSLog(@"Apple AWT Startup Exception: %@", [e description]);
NSLog(@"Apple AWT Startup Exception callstack: %@", [e callStackSymbols]);
NSLog(@"Apple AWT Restarting Native Event Thread");
[app stop:app];