On Thu, 16 Feb 2023 18:54:18 GMT, Kevin Rushforth <k...@openjdk.org> wrote:
>> @prrace What is your preference here? >> Since `enterNestedEventLoop` and `exitNestedEventLoop` throw an exception >> when not on the fx user thread, I feel like it makes sense to also add it >> here as well. > > Phil's comment got me thinking about this further. All other event loop > methods, including `isNestedLoopRunning`, need to be called on the JavaFX > thread. So I prefer option 1 as well for consistency. Yes, I agree. ------------- PR: https://git.openjdk.org/jfx/pull/1031