<AWT Dev> RFR: JDK-8255681: print callstack in error case in runAWTLoopWithApp

Sergey Bylokhov serb at openjdk.java.net
Tue Nov 3 18:52:57 UTC 2020

On Tue, 3 Nov 2020 08:45:20 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> Currently in case of occurences of an NSException in runAWTLoopWithApp we catch the exception just print a simple error message like this :
> 2020-10-30 15:28:33.027 java[634:8435] Apple AWT Startup Exception: Cannot lock focus on image <NSImage 0x7fd350d7f9f0 Size={0, 0} RepProvider=(null)>, because it is size zero.
> 2020-10-30 15:28:33.306 java[634:8435] Apple AWT Restarting Native Event Thread
> But we omit the callstack and loose valuable information. This change  adds the callstack to the output.

Marked as reviewed by serb (Reviewer).


PR: https://git.openjdk.java.net/jdk/pull/1032

More information about the awt-dev mailing list