I discovered this bug while testing the fix for JDK-8087793
TextNodeTest is a system test, meaning that it run with the full FX runtime, and needs to ensure that the FX runtime is initialized before constructing a scene graph. This test calls Text.setText(), which gets the system font to measure the text for bounds computations. After the fix for JDK-8087793, getting the system font needs to get the screen UI scale, which is not valid until after the FX runtime is initialized. This will not cause problems for well-formed applications, it just means that Text joins a long line of other nodes (including all controls) that fail in the same way.