harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Qiu (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-5961) [classlib][luni]File.toURI() returns incorrect UNC uri
Date Thu, 28 Aug 2008 06:17:44 GMT

     [ 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.


Mime
View raw message