Image class should recognize a URL beginning with a leading slash as relative to the classpath

XMLWordPrintable

      When an image is created using a URL that begins with a leading slash, I'd expect the URL to be treated as relative to the classpath. For example, I'd expect the following code to work, assuming that I have a file named "bar.png" in the foo directory on my classpath:

      Image image = new Image("/foo/bar.png");

            Assignee:
            Martin Sládeček
            Reporter:
            Greg Brown (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: