< prev index next >
src/java.base/unix/classes/java/io/UnixFileSystem.java
Print this page
rev 52387 : 8211752: JNU_ThrowIOExceptionWithLastErrorAndPath - enhance some IOExceptions with path causing the issue
@@ -336,10 +336,15 @@
}
private static native void initIDs();
+ private static native void initIncludeInExceptions(boolean b);
+
static {
initIDs();
+ final String key="jdk.filesystem.path.includeInExceptions";
+ Boolean tmp = java.security.AccessController.doPrivileged(new sun.security.action.GetBooleanAction(key));
+ initIncludeInExceptions(tmp.booleanValue());
}
}
< prev index next >