Community
Participate
Working Groups
Build Identifier: 20100617-1415 Using deprecated method toURL() from the type File is not recommended and could be changed to toURI().toURL() to escape any special characters. Reproducible: Always
Created attachment 175146 [details] Changes calls from toURL() -> toURI().toURL()
You cannot simply change one usage to the other. Once certain characters are escaped, they must be unescaped before using in various files/jobs. Furthermore, any comparisons between unescaped and escaped urls will fail where they used to pass. This has been considered before and it was decided that the consequences of changing are worse than the warning.