< prev index next >

src/java.base/unix/classes/sun/nio/fs/UnixFileStore.java

Print this page

        

@@ -258,11 +258,11 @@
     }
 
     private static Properties loadProperties() {
         Properties result = new Properties();
         String fstypes = System.getProperty("java.home") + "/lib/fstypes.properties";
-        Path file = Paths.get(fstypes);
+        Path file = Path.get(fstypes);
         try {
             try (ReadableByteChannel rbc = Files.newByteChannel(file)) {
                 result.load(Channels.newReader(rbc, "UTF-8"));
             }
         } catch (IOException x) {
< prev index next >