-
Bug
-
Resolution: Fixed
-
P2
-
8u60, 9
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8130010 | 8u60 | Kevin Rushforth | P2 | Closed | Fixed |
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 forJDK-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.
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
- backported by
-
JDK-8130010 [TEST] TextNodeTest unit test fails becase FX runtime isn't initialized
-
- Closed
-
- blocks
-
JDK-8087793 Windows scaling override also disables font scaling on HiDPI displays
-
- Resolved
-