mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8202110: (fs) Remove FileSystem support for resolving against a default directory (chdir configuration)
Reviewed-by: alanb
This commit is contained in:
parent
d2df36b073
commit
05cc02b243
15 changed files with 44 additions and 104 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2008, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2008, 2023, 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
|
||||
|
@ -46,8 +46,8 @@ import static sun.nio.fs.UnixNativeDispatcher.unlink;
|
|||
|
||||
class BsdFileSystem extends UnixFileSystem {
|
||||
|
||||
BsdFileSystem(UnixFileSystemProvider provider, String dir) {
|
||||
super(provider, dir);
|
||||
BsdFileSystem(UnixFileSystemProvider provider) {
|
||||
super(provider);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2008, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2008, 2023, 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
|
||||
|
@ -39,8 +39,8 @@ class BsdFileSystemProvider extends UnixFileSystemProvider {
|
|||
}
|
||||
|
||||
@Override
|
||||
BsdFileSystem newFileSystem(String dir) {
|
||||
return new BsdFileSystem(this, dir);
|
||||
BsdFileSystem newFileSystem() {
|
||||
return new BsdFileSystem(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2008, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2008, 2023, 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
|
||||
|
@ -48,8 +48,8 @@ class MacOSXFileSystem extends BsdFileSystem {
|
|||
&& ("".equals(value) || Boolean.parseBoolean(value));
|
||||
}
|
||||
|
||||
MacOSXFileSystem(UnixFileSystemProvider provider, String dir) {
|
||||
super(provider, dir);
|
||||
MacOSXFileSystem(UnixFileSystemProvider provider) {
|
||||
super(provider);
|
||||
}
|
||||
|
||||
boolean isCaseInsensitiveAndPreserving() {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2008, 2023, 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
|
||||
|
@ -40,8 +40,8 @@ class MacOSXFileSystemProvider extends BsdFileSystemProvider {
|
|||
}
|
||||
|
||||
@Override
|
||||
MacOSXFileSystem newFileSystem(String dir) {
|
||||
return new MacOSXFileSystem(this, dir);
|
||||
MacOSXFileSystem newFileSystem() {
|
||||
return new MacOSXFileSystem(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue