RFR: 8277489: Rewrite JAAS UnixLoginModule with FFM [v7]

Anthony Scarpino ascarpino at openjdk.org
Wed Jan 7 21:18:30 UTC 2026


On Mon, 5 Jan 2026 17:20:29 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:
> 
>   must have username; more comments

src/jdk.security.auth/share/classes/com/sun/security/auth/module/UnixSystem.java line 88:

> 86:             = (ValueLayout) LINKER.canonicalLayouts().get("size_t");
> 87: 
> 88:     private static final StructLayout capturedStateLayout = Linker.Option.captureStateLayout();

Should the variables below be capitalized because they are `static final`?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/28931#discussion_r2666736772


More information about the build-dev mailing list