RFR: 8349546: Linux support for Kerberos "nativeccache" functionality [v11]

Nick Hall duke at openjdk.org
Thu Nov 13 10:30:39 UTC 2025


On Wed, 12 Nov 2025 15:36:46 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> test/jdk/sun/security/krb5/native/NativeCacheTest.java line 124:
>> 
>>> 122:      * Copy the TGT to an in-memory cache using JNI
>>> 123:      */
>>> 124:     private static String copyTGTToInMemoryCache() throws Exception {
>> 
>> All native methods are called here with the same order. Is it possible to just create one single native method and do everything inside?
>
> You can even try using the latest FFM API. Not a request, just 0.01 cent.

I've updated this as requested in the next set of commits (much simpler given this is just a test helper).  I'll leave as JNI for now, because this improves the ability for this to be backported to earlier versions.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28075#discussion_r2522825810


More information about the security-dev mailing list