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

Anthony Scarpino ascarpino at openjdk.org
Fri Jan 9 20:15:15 UTC 2026


On Wed, 7 Jan 2026 21:47:41 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> 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`?
>
> Per asked the same above. I'm not exactly sure if all of them should be capitalized. I'm willing to choose either.

I'm thinking the `static final` convention applies for all of them, but if someone says different because they are FFM related, I'm fine with not.

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

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


More information about the core-libs-dev mailing list