RFR: 8351733: [macos] Crash when creating too many nested event loops [v3]
Michael Strauß
mstrauss at openjdk.org
Wed Mar 26 08:33:20 UTC 2025
On Tue, 25 Mar 2025 20:47:21 GMT, Martin Fox <mfox at openjdk.org> wrote:
> For customers creating cross-platform apps having the limit be the same on all platforms would simplify testing. If this was per-platform we would need to publish the limits since developers would want to test on the most restrictive platform.
Why would an application need to be tested against a specific limit? It seems the only thing that would be tested in this case is whether JavaFX works as advertised. An application that can conceivably start a nested event loop should always check whether it can start the event loop in the first place, and fail gracefully if it can't.
I can see some value in guaranteeing a lower limit for the number of nested event loops, which might be useful for applications that provably don't start more than a certain number of nested event loops.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1741#issuecomment-2753585793
More information about the openjfx-dev
mailing list