The SceneChangeShouldNotFocusStageTest robot test generates exceptions on the Mac even after the issue reported in JDK-8305675 is fixed. With a few modifications it can generate the same exceptions on Windows 11 where JDK-8305675 does not apply. I've attached a stripped down version which reproduces this bug on both systems.
The test is contrived but it is a standard Robot test and it seems to have some fragile timing components so I've kept a high priority. The underlying problem seems to be executing scene changes during the initial platform window animation so it might be enough to add a delay before beginning the test.
The exception call stack isn't very useful but can be found in JDK-8305675.