Wrong usage of URI.getPath()

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 6
    • Component/s: tools
    • None
    • generic
    • generic

      The Old199.getPath () uses jfo.toUri().getPath(), which returns null in the case when URI has a jar protocol. It can be workarounded by jfo.toUri().toURL().getPath(), but it is better not to use this method at all when the URI protocol isn't "file".

            Assignee:
            Peter Ahe
            Reporter:
            Dušan Bálek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: