Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8117591

Empt stylesheet gives misleading error message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7-pool
    • javafx

      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.

            dgrieve David Grieve
            dgrieve David Grieve
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: