RFR: 8357268: Use JavaNioAccess.getBufferAddress rather than DirectBuffer.address() [v3]

Valerie Peng valeriep at openjdk.org
Wed May 21 05:02:52 UTC 2025


On Tue, 20 May 2025 13:38:11 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> A question for folks on security-dev. Are there tests for Cipher.doFinal, CipherSpi.engineUpdate, etc. that exercises cases where the ByteBuffer obtained from a memory segment?

I don't find any. We'd have to update them to cover the memory segment usage. Judging from the changed sources, general Cipher and SunPKCS11-specific tests update would be needed.

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

PR Comment: https://git.openjdk.org/jdk/pull/25324#issuecomment-2896582775


More information about the net-dev mailing list