Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8369557 | 8u481 | Ivan Bereziuk | P3 | Resolved | Fixed | master |
From the Solaris getpwnam(3C) manpage:
Solaris 2.4 and earlier releases provided definitions of the getpw-
nam_r() and getpwuid_r() functions as specified in POSIX.1c Draft 6.
The final POSIX.1c standard changed the interface for these functions.
Support for the Draft 6 interface is provided for compatibility only
and might not be supported in future releases. New applications and
libraries should use the standard-conforming interface.
The getgrnam(3C) manpage contains a similar section.
The easiest way to use the standard-conforming interfaces is to #define _POSIX_PTHREAD_SEMANTICS before #including <pwd.h> or <gid.h>
Solaris 2.4 and earlier releases provided definitions of the getpw-
nam_r() and getpwuid_r() functions as specified in POSIX.1c Draft 6.
The final POSIX.1c standard changed the interface for these functions.
Support for the Draft 6 interface is provided for compatibility only
and might not be supported in future releases. New applications and
libraries should use the standard-conforming interface.
The getgrnam(3C) manpage contains a similar section.
The easiest way to use the standard-conforming interfaces is to #define _POSIX_PTHREAD_SEMANTICS before #including <pwd.h> or <gid.h>
- backported by
-
JDK-8369557 Solaris: deprecated <pwd.h> and <gid.h> interfaces should be replaced
-
- Resolved
-