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
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
- relates to
-
JDK-8090986 Specifying resources by __DIR__ is not enough flexible
-
- Open
-