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-6075) [eut][classlib][luni] - URI returned by URI.relativize(URI) should set SchemeSpecificPart
Date Wed, 21 Jan 2009 06:47:59 GMT
[eut][classlib][luni] - URI returned by URI.relativize(URI) should set SchemeSpecificPart
-----------------------------------------------------------------------------------------

                 Key: HARMONY-6075
                 URL: https://issues.apache.org/jira/browse/HARMONY-6075
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
    Affects Versions: 5.0M8
            Reporter: Regis Xu
             Fix For: 5.0M9


the error of eut test testPathVariableLocation in org.eclipse.core.tests.resources is caused
by this bug. Other errors in this test suite seems also caused bye this bug. 

following simple test show this problem:

    public void test_relativize3() throws Exception {
        URI uri = new URI("file", null, "/test/location", null);

        URI base = new URI("file", null, "/test", null);

        URI relative = base.relativize(uri);
        assertEquals("location", relative.getSchemeSpecificPart());
        assertNull(relative.getScheme());
    }

I'll attach patch to fix this soon.

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