RFR: 8351733: [macos] Crash when creating too many nested event loops [v3]
Andy Goryachev
angorya at openjdk.org
Mon Mar 24 19:59:17 UTC 2025
On Mon, 24 Mar 2025 17:51:18 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>> The number is in the Mac-only Glass code and may change over time so it would be a maintenance burden to repeat it here. But if a developer does see this exception I'm sure their first question would be what the limit is. I can update the comment with something vague (like "over > 240") but I'm hoping that the very, very long Java stack trace attached to this exception will be enough.
>
> Unless you are going to track the actual depth, I'd probably leave it as is. When Java throws a StackOverflow it doesn't print the depth.
what I meant is the exception should indicate the limit that triggered the exception.
because it will likely be the first question the application developer asks when seeing this exception.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1741#discussion_r2010841926
More information about the openjfx-dev
mailing list