Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8095405

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 8u20
    • fx2.1, 7u6
    • javafx
    • 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

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

              Created:
              Updated:
              Resolved:
              Imported: