On Mon, 22 Dec 2025 14:47:41 GMT, Weijun Wang <[email protected]> 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

Reply via email to