Scene.getStylesheets() javadoc is not specific enough on relative paths and accessible urls

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 8u20
    • Affects Version/s: fx2.1, 7u6
    • Component/s: javafx
    • Environment:

      javafx-sdk2.2.0-beta-b06

      Scene.getStylesheets() javadoc has the following problems:
      1. It doesn't limit the URLs range (file, http, internal, external, zip/jar-files, classpath)
      2. It doesn't specify what is relative URL origin. This looks to be classes root (not the particular class package as one may expect).
      3. It doesn't specify what is root origin for URLs starting with "/". This looks to be classes root.

        1. Bug.css
          0.2 kB
        2. Bug.java
          1 kB
        3. screenshot-1.jpg
          screenshot-1.jpg
          34 kB
        4. screenshot-2.jpg
          screenshot-2.jpg
          187 kB

            Assignee:
            David Grieve
            Reporter:
            Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: