jdk/src/windows/classes/sun/nio/fs/WindowsFileSystem.java
changeset 2071 5e6af6d106cb
parent 2057 3acf8e5e2ca0
child 3065 452aaa2899fc
--- a/jdk/src/windows/classes/sun/nio/fs/WindowsFileSystem.java	Mon Feb 23 10:36:19 2009 +0000
+++ b/jdk/src/windows/classes/sun/nio/fs/WindowsFileSystem.java	Tue Feb 24 09:11:42 2009 +0000
@@ -236,11 +236,9 @@
 
     @Override
     public Path getPath(String path) {
-        WindowsPathParser.Result result = WindowsPathParser.parse(path);
-        return new WindowsPath(this, result.type(), result.root(), result.path());
+        return WindowsPath.parse(this, path);
     }
 
-
     @Override
     public UserPrincipalLookupService getUserPrincipalLookupService() {
         return theLookupService;