346124 Fixed UNC path resource test on Windows
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3257 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
be98ef70a1
commit
a00f7945a6
|
@ -463,7 +463,7 @@ public class ResourceTest
|
|||
{
|
||||
assumeTrue(OS.IS_WINDOWS);
|
||||
|
||||
String uncPath = "\\\\127.0.0.1"+__userURL.toURI().getPath().replace('/','\\')+"ResourceTest.java";
|
||||
String uncPath = "\\\\127.0.0.1"+__userURL.toURI().getPath().replace('/','\\').replace(':','$')+"ResourceTest.java";
|
||||
|
||||
Resource uncResource = Resource.newResource(uncPath, false);
|
||||
assertTrue(uncResource.exists());
|
||||
|
|
Loading…
Reference in New Issue