Skip to content

Commit ab9192e

Browse files
committed
8255681: print callstack in error case in runAWTLoopWithApp
Reviewed-by: clanger, serb
1 parent c7a2c24 commit ab9192e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/java.desktop/macosx/native/libosxapp/NSApplicationAWT.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -334,6 +334,7 @@ + (void) runAWTLoopWithApp:(NSApplication*)app {
334334
[app run];
335335
} @catch (NSException* e) {
336336
NSLog(@"Apple AWT Startup Exception: %@", [e description]);
337+
NSLog(@"Apple AWT Startup Exception callstack: %@", [e callStackSymbols]);
337338
NSLog(@"Apple AWT Restarting Native Event Thread");
338339

339340
[app stop:app];

0 commit comments

Comments
 (0)