On Tue, 4 Mar 2025 20:39:18 GMT, Andy Goryachev <ango...@openjdk.org> wrote:
>> `Robot::getPixelColor` can't return null (although I checked the docs and we >> don't specify one way or the other). It seems fine either way. > > what if the lambdas never run? Then we have far bigger problems than this one test. The reason we use `runAndWait` instead of `runLater` is so we guarantee that the lambda has run before that method returns. It's guaranteed to do so. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1719#discussion_r1980471260