|
In the utility method DataUtilities.urlToFile there is a specific check if the system OS is Windows. If on Windows, paths with the standard prefix (file://) are handled as absolute paths as the protocol stipulates. However, for other OS's paths with the standard prefix are handled as relative making the code work differently on different platforms. According to the developer mailinglist this has not been the case up until version 11. Perhaps the change to use Java 7 is what makes the difference since no change to used code paths has been made.
file://dest.png and file://./dest.png should both be handled as relative.
|