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