< prev index next >

src/java.base/share/classes/java/io/FileSystem.java

Print this page
rev 52921 : 8211752: JNU_ThrowIOExceptionWithLastErrorAndPath - enhance some IOExceptions with path causing the issue

*** 227,236 **** --- 227,240 ---- /** * Compute the hash code of an abstract pathname. */ public abstract int hashCode(File f); + private static boolean hasPathInExceptions() { + return sun.security.util.SecurityProperties.includedInExceptions("path"); + } + // Flags for enabling/disabling performance optimizations for file // name canonicalization static final boolean useCanonCaches; static final boolean useCanonPrefixCache;
< prev index next >