RFR: 8277489: Rewrite JAAS UnixLoginModule with FFM [v2]
Martin Doerr
mdoerr at openjdk.org
Fri Jan 2 14:27:00 UTC 2026
On Mon, 22 Dec 2025 14:47:41 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> Rewrite the native calls with FFM.
>
> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
>
> rewrite without jextract
src/jdk.security.auth/share/classes/com/sun/security/auth/module/UnixSystem.java line 96:
> 94: .downcallHandle(SYMBOL_LOOKUP.findOrThrow("getpwuid_r"),
> 95: FunctionDescriptor.of(C_INT, C_INT, C_POINTER, C_POINTER,
> 96: C_LONG, C_POINTER));
`C_LONG` looks wrong for 32 bit platforms (arm 32).
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28931#discussion_r2657805167
More information about the build-dev
mailing list