Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8233020: (fs) UnixFileSystemProvider should use StaticProperty.userDir(). #263

wants to merge 1 commit into from
Changes from all commits
File filter

Filter by extension

Filter by extension

Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -35,6 +35,7 @@
import java.util.*;

import jdk.internal.util.StaticProperty;
import static sun.nio.fs.UnixNativeDispatcher.*;
@@ -47,13 +48,11 @@
public abstract class UnixFileSystemProvider
extends AbstractFileSystemProvider
private static final String USER_DIR = "user.dir";
private static final byte[] EMPTY_PATH = new byte[0];
private final UnixFileSystem theFileSystem;

public UnixFileSystemProvider() {
String userDir = System.getProperty(USER_DIR);
theFileSystem = newFileSystem(userDir);
theFileSystem = newFileSystem(StaticProperty.userDir());

UnixFileSystem theFileSystem() {