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

File separator isn't interpreted correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • fx2.0
    • fx1.2.1
    • javafx
    • None
    • wintel (hp system, intel centrino, windows 7), JavaFX 1.2.1

      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

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

              Created:
              Updated:
              Resolved:
              Imported: