JDK-7115070 : (fs) lookupPrincipalByName/lookupPrincipalByGroupName should treat ESRCH as not found.
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 8
  • Priority: P5
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-11-23
  • Updated: 2013-06-26
  • Resolved: 2012-06-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u40Fixed 8 b17Fixed
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
28-11-2011