On Mon, 24 Mar 2025 17:51:18 GMT, Kevin Rushforth <k...@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