harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Regis Xu (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5961) [classlib][luni]File.toURI() returns incorrect UNC uri
Date Thu, 28 Aug 2008 04:22:46 GMT
[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
             Fix For: 5.0M8

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");
        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.

View raw message