IOException from sun.nio.fs.UnixUserPrincipals.lookupName
Alan Bateman
Alan.Bateman at oracle.com
Wed Nov 23 04:26:04 PST 2011
On 21/11/2011 09:50, Jonathan Lu wrote:
> Yes, this problem was originally found on AIX platform and I just
> tested getgrnam_r(), it failed with the same errno as getpwnam_r(), so
> I think if there's an adjustment, getgrnam0 should be included too.
As I said, I don't see a problem extending the check to include ESRCH.
It's one of these holes in the standards. Will you send the patch for
both calls so that we can review it? Also is Neil going to push it or do
you need me to do it? I've created a bug for it:
7115070: (fs) lookupPrincipalByName/lookupPrincipalByGroupName should
treat ESRCH as not found
-Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20111123/bb9a321b/attachment.html
More information about the nio-dev
mailing list