< prev index next >

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

Print this page
rev 59105 : imported patch corelibs

*** 799,817 **** if (O_NOFOLLOW == 0) throw new UnixException ("NOFOLLOW_LINKS is not supported on this platform"); flags |= O_NOFOLLOW; } - try { return open(this, flags, 0); - } catch (UnixException x) { - // HACK: EINVAL instead of ELOOP on Solaris 10 prior to u4 (see 6460380) - if (getFileSystem().isSolaris() && x.errno() == EINVAL) - x.setError(ELOOP); - - throw x; - } } void checkRead() { SecurityManager sm = System.getSecurityManager(); if (sm != null) --- 799,809 ----
< prev index next >