On Tue, 25 Mar 2025 20:47:21 GMT, Martin Fox <m...@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

Reply via email to