mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8213406: (fs) More than one instance of built-in FileSystem observed in heap
Reviewed-by: alanb, cushon, weijun
This commit is contained in:
parent
978c78f7fc
commit
7212bf0a77
14 changed files with 106 additions and 53 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2008, 2018, 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
|
||||
|
@ -56,6 +56,10 @@ public abstract class UnixFileSystemProvider
|
|||
theFileSystem = newFileSystem(userDir);
|
||||
}
|
||||
|
||||
UnixFileSystem theFileSystem() {
|
||||
return theFileSystem;
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs a new file system using the given default directory.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue