If a stylesheet is empty or contains only comments, you get the following warning which is misleading:
WARNING: com.sun.javafx.css.StyleManager loadStylesheet Resource "file:/C:/blah/path/to/my/file/emptyfile.css" not found.
This is because the parser returns null if the stylesheet is empty.
WARNING: com.sun.javafx.css.StyleManager loadStylesheet Resource "file:/C:/blah/path/to/my/file/emptyfile.css" not found.
This is because the parser returns null if the stylesheet is empty.
- duplicates
-
JDK-8116613 Misleading CSS warning
-
- Resolved
-