United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7115070 (fs) lookupPrincipalByName/lookupPrincipalByGroupName should treat ESRCH as not found.
JDK-7115070 : (fs) lookupPrincipalByName/lookupPrincipalByGroupName should treat ESRCH as not found.

Details
Type:
Enhancement
Submit Date:
2011-11-23
Status:
Closed
Updated Date:
2013-06-26
Project Name:
JDK
Resolved Date:
2012-06-11
Component:
core-libs
OS:
generic
Sub-Component:
java.nio
CPU:
generic
Priority:
P5
Resolution:
Fixed
Affected Versions:
8
Fixed Versions:

Related Reports
Backport:
Backport:

Sub Tasks

Description
The file system provider uses getpwnam/getgrnam for name/group lookup but these functions don't specify how "not found" is handled. The current implementation was tested with various name services on Solaris and Linux but this is insufficient for other platforms, see:

http://mail.openjdk.java.net/pipermail/nio-dev/2011-November/001485.html

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk8/tl/jdk/rev/955aae8c1106
                                     
2011-11-28



Hardware and Software, Engineered to Work Together