You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Regis Xu (JIRA)" <ji...@apache.org> on 2009/01/21 07:47:59 UTC

[jira] Created: (HARMONY-6075) [eut][classlib][luni] - URI returned by URI.relativize(URI) should set SchemeSpecificPart

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


[jira] Closed: (HARMONY-6075) [eut][classlib][luni] - URI returned by URI.relativize(URI) should set SchemeSpecificPart

Posted by "Regis Xu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Regis Xu closed HARMONY-6075.
-----------------------------


Verified. Thanks Tim.

> [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
>            Assignee: Tim Ellison
>             Fix For: 5.0M9
>
>         Attachments: HARMONY-6075.diff
>
>
> 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.


[jira] Updated: (HARMONY-6075) [eut][classlib][luni] - URI returned by URI.relativize(URI) should set SchemeSpecificPart

Posted by "Regis Xu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Regis Xu updated HARMONY-6075:
------------------------------

    Attachment: HARMONY-6075.diff

Would anyone want to try this?

> [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
>
>         Attachments: HARMONY-6075.diff
>
>
> 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.


[jira] Resolved: (HARMONY-6075) [eut][classlib][luni] - URI returned by URI.relativize(URI) should set SchemeSpecificPart

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison resolved HARMONY-6075.
----------------------------------

    Resolution: Fixed

Thanks Regis,

Patch applied to LUNI module at repo revision r738561.

Please check it was applied as you expected.


> [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
>            Assignee: Tim Ellison
>             Fix For: 5.0M9
>
>         Attachments: HARMONY-6075.diff
>
>
> 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.


[jira] Assigned: (HARMONY-6075) [eut][classlib][luni] - URI returned by URI.relativize(URI) should set SchemeSpecificPart

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison reassigned HARMONY-6075:
------------------------------------

    Assignee: Tim Ellison

> [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
>            Assignee: Tim Ellison
>             Fix For: 5.0M9
>
>         Attachments: HARMONY-6075.diff
>
>
> 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.