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

Resource path should always use '/' separator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • javafx
    • None

      On Windows, one may end up with a mix of '/' and '\' in an url, and get errors such as:
      WARNING: Resource "jar:file:/C:/wksfx/sb20/SceneBuilderKit/dist/SceneBuilderKit.jar!/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/..\..\..\css\Theme.css" not found.

      (see the attached fxml that produced this warning).
      We should use '/' everywhere to handle the paths more easily and avoid all these separator issues.

            eleponn Eric Le Ponner
            jcambon Jerome Cambon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: