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

Empt stylesheet gives misleading error message

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 7-pool
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: