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

File separator isn't interpreted correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: fx1.2.1
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Labels:
      None
    • Environment:

      wintel (hp system, intel centrino, windows 7), JavaFX 1.2.1

      Description

      A code fragment such as

      Image {
       url = "{__DIR__}/anotherDir/imagefile.gif"
      }

      fails.

       While
      Image {
       url = "{__DIR__}anotherDir/imagefile.gif"
      }


      works. In "Java" an extra delimiter such as "/" in a path expression is easily handled. Here in JavaFX it seems to choke. It's may appear trivial, but it improves code readability.
      Would be nice if it's fixed.

      /rk

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rbair Richard Bair (Inactive)
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: