You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Sean Qiu (JIRA)" <ji...@apache.org> on 2008/08/28 08:17:44 UTC
[jira] Assigned: (HARMONY-5961) [classlib][luni]File.toURI()
returns incorrect UNC uri
[ https://issues.apache.org/jira/browse/HARMONY-5961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Qiu reassigned HARMONY-5961:
---------------------------------
Assignee: Sean Qiu
> [classlib][luni]File.toURI() returns incorrect UNC uri
> ------------------------------------------------------
>
> Key: HARMONY-5961
> URL: https://issues.apache.org/jira/browse/HARMONY-5961
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Affects Versions: 5.0M7
> Reporter: Regis Xu
> Assignee: Sean Qiu
> Fix For: 5.0M8
>
> Attachments: HARMONY-5961.diff
>
>
> below test case can pass on RI but failed on Harmony
> public void test_toURI_UNC() throws Exception {
> File f = new File("\\\\unchost\\[dir]\\file.txt");
> assertNotNull(f.toURI());
> assertTrue("incorrect URI for UNC path: " + f.toURI(), f.toURI().equals(new URI("file:////unchost/%5Bdir%5D/file.txt")));
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.