On Thu, 27 Mar 2025 22:19:29 GMT, Martin Fox <m...@openjdk.org> wrote:
>> In any case, this PR should at least add the following bits of information >> to `Platform.enterNestedEventLoop()`: >> 1. There is some limit to the number of nested event loops. >> 2. Applications should always check `Platform.canStartNestedEventLoop()` >> before invoking `enterNestedEventLoop()`. >> 3. An exception will be thrown if the limit is exceeded. > >> I think the suggestion made by @mstr2 to recommend calling >> `canStartNestedLoop` if the app wants to know whether or not this call will >> succeed is a good one. > > The docs on `canStartNestedEventLoop` describe its behavior already. I'm not > sure what further information would be useful. Would it be enough to add a > see also link? @beldenfox I also reviewed the CSR and it is ready to be Finalized. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1741#issuecomment-2769026824