mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8305664: [BACKOUT] (fs) Remove FileSystem support for resolving against a default directory (chdir configuration)
Reviewed-by: alanb
This commit is contained in:
parent
39f12a88e7
commit
507c49a3ab
15 changed files with 104 additions and 44 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2008, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2008, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -75,7 +75,7 @@ public abstract class UnixFileSystemProvider
|
|||
private final UnixFileSystem theFileSystem;
|
||||
|
||||
public UnixFileSystemProvider() {
|
||||
theFileSystem = newFileSystem();
|
||||
theFileSystem = newFileSystem(StaticProperty.userDir());
|
||||
}
|
||||
|
||||
UnixFileSystem theFileSystem() {
|
||||
|
@ -83,9 +83,9 @@ public abstract class UnixFileSystemProvider
|
|||
}
|
||||
|
||||
/**
|
||||
* Constructs a new file system.
|
||||
* Constructs a new file system using the given default directory.
|
||||
*/
|
||||
abstract UnixFileSystem newFileSystem();
|
||||
abstract UnixFileSystem newFileSystem(String dir);
|
||||
|
||||
@Override
|
||||
public final String getScheme() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue