Convert classpath file references to to a URI instead of a string path

XMLWordPrintable

    • Type: Task
    • Resolution: Done
    • Priority: L3 - Default
    • 2.7.0
    • Affects Version/s: None
    • Component/s: backend
    • None

      Context:
      On Windows machines we encountered code like this to fail:

      Paths.get(this.getClass().getResource(s).getPath())
      

      See https://bugs.openjdk.java.net/browse/JDK-8197918

      AT:

      • whenever we do Paths.get in code we should pass an URI instead of a string path
        Paths.get(this.getClass().getResource(s).toURI())
        

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: