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

Martin Doerr mdoerr at openjdk.org
Thu Jan 15 23:11:02 UTC 2026


On Thu, 15 Jan 2026 18:06:03 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> At the moment doing the conversion in Java and using a bigger carrier type (like `long`) is the only possible workaround.
>
> I don't have the expertise to confirm the correctness of that code change. @mcimadamore, are you comfortable to  include the patch for PPC64 as described in https://github.com/openjdk/jdk/pull/28931#discussion_r2662361633?

For reference: hotspot uses the platform dependent constant `CCallingConventionRequiresIntsAsLongs`  for such issues. The value is `true` on PPC64 and s390 platforms (and SPARC in earlier JDK versions).

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

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


More information about the security-dev mailing list