RFR: 8157716: jdk.internal.loader.ClassLoaders.addURLToUCP() should return converted real path URL
Alan Bateman
Alan.Bateman at oracle.com
Wed May 25 19:42:57 UTC 2016
On 25/05/2016 20:24, Jiangli Zhou wrote:
>
>> I think the proposed toFileURL method name is fine and perhaps the javadoc of toFileURL method could make it clearer. If we had to rename it, maybe toRealPathFileURL (mouthful but it clearly shows it’s “real path” as specified in java.nio.file.Path).
> I discussed with Alan. We will keep the proposed toFileURL method name for now.
>
That should be fine. This is internal to the JDK and the VM doesn't care
whether how the URL is constructed, it just has to be consistent with
the library code I think.
-Alan
More information about the core-libs-dev
mailing list