--- old/src/java.base/windows/classes/sun/nio/fs/WindowsFileSystemProvider.java 2018-11-27 07:49:04.825944462 -0800 +++ new/src/java.base/windows/classes/sun/nio/fs/WindowsFileSystemProvider.java 2018-11-27 07:49:04.429944687 -0800 @@ -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 @@ -42,7 +42,7 @@ import static sun.nio.fs.WindowsSecurity.*; import static sun.nio.fs.WindowsConstants.*; -public class WindowsFileSystemProvider +class WindowsFileSystemProvider extends AbstractFileSystemProvider { private static final Unsafe unsafe = Unsafe.getUnsafe(); @@ -53,6 +53,10 @@ theFileSystem = new WindowsFileSystem(this, StaticProperty.userDir()); } + WindowsFileSystem theFileSystem() { + return theFileSystem; + } + @Override public String getScheme() { return "file";