16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package sun.nio.fs;
27
28 import java.nio.file.*;
29 import java.nio.file.attribute.*;
30 import java.nio.channels.*;
31 import java.net.URI;
32 import java.util.concurrent.ExecutorService;
33 import java.io.*;
34 import java.util.*;
35 import java.security.AccessController;
36 import sun.misc.Unsafe;
37 import sun.nio.ch.ThreadPool;
38 import sun.security.util.SecurityConstants;
39
40 import static sun.nio.fs.WindowsNativeDispatcher.*;
41 import static sun.nio.fs.WindowsSecurity.*;
42 import static sun.nio.fs.WindowsConstants.*;
43
44 public class WindowsFileSystemProvider
45 extends AbstractFileSystemProvider
46 {
47 private static final Unsafe unsafe = Unsafe.getUnsafe();
48
49 private static final String USER_DIR = "user.dir";
50 private final WindowsFileSystem theFileSystem;
51
52 public WindowsFileSystemProvider() {
53 theFileSystem = new WindowsFileSystem(this, System.getProperty(USER_DIR));
54 }
55
56 @Override
|
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package sun.nio.fs;
27
28 import java.nio.file.*;
29 import java.nio.file.attribute.*;
30 import java.nio.channels.*;
31 import java.net.URI;
32 import java.util.concurrent.ExecutorService;
33 import java.io.*;
34 import java.util.*;
35 import java.security.AccessController;
36 import jdk.internal.misc.Unsafe;
37 import sun.nio.ch.ThreadPool;
38 import sun.security.util.SecurityConstants;
39
40 import static sun.nio.fs.WindowsNativeDispatcher.*;
41 import static sun.nio.fs.WindowsSecurity.*;
42 import static sun.nio.fs.WindowsConstants.*;
43
44 public class WindowsFileSystemProvider
45 extends AbstractFileSystemProvider
46 {
47 private static final Unsafe unsafe = Unsafe.getUnsafe();
48
49 private static final String USER_DIR = "user.dir";
50 private final WindowsFileSystem theFileSystem;
51
52 public WindowsFileSystemProvider() {
53 theFileSystem = new WindowsFileSystem(this, System.getProperty(USER_DIR));
54 }
55
56 @Override
|