Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-5844

Public API: Do not use java.nio.file.Path for internal LocalId representation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • 5
    • False
    • False
    • 2021 Week 37-39 (from Sep 13)

      Unfortunately java.nio.file.Path is platform-dependent, so a URI path a/b/c may be represented on windows as a\b\c, which may cause unexpected issues when concatenating.

      Investigate a platform-independent alternatives.

      Please notice URI has its own downsides/caveats; e.g.

      • URI.create("/a").append("b") returns /b
      • Does not have a get(idx) method
      • Does not have a getParent() method

      etc.

              evacchi Edoardo Vacchi (Inactive)
              evacchi Edoardo Vacchi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: