< prev index next >
src/java.base/unix/classes/sun/nio/fs/UnixFileStore.java
Print this page
*** 258,268 ****
}
private static Properties loadProperties() {
Properties result = new Properties();
String fstypes = System.getProperty("java.home") + "/lib/fstypes.properties";
! Path file = Paths.get(fstypes);
try {
try (ReadableByteChannel rbc = Files.newByteChannel(file)) {
result.load(Channels.newReader(rbc, "UTF-8"));
}
} catch (IOException x) {
--- 258,268 ----
}
private static Properties loadProperties() {
Properties result = new Properties();
String fstypes = System.getProperty("java.home") + "/lib/fstypes.properties";
! 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 >