RFR: 8357466: Create test for Ciphers that are using ByteBuffers backed by MemorySegments [v5]

Matthew Donovan mdonovan at openjdk.org
Mon Nov 24 14:33:21 UTC 2025


On Fri, 21 Nov 2025 19:23:10 GMT, Matthew Donovan <mdonovan at openjdk.org> wrote:

>> Looks good, just one comment and a few nitpicks. IMO nits are not worth doing unless there is another commit.
>
> @myankelev , @wangweij , or @fandreuz , any final comments on this PR?  If not, please approve, Thanks!

> @mpdonova Can you confirm it exercises MemorySegments allocated from each of the Arena types? I did a quick search and only spotted ofConfined. Ignore my comment if you already have it testing all 4.

The tests only use `ofConfined`. Incorporating them all would require a lot of refactoring. I can make one or more follow-on tickets to do that work but I think it may be too much work for a single PR.

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

PR Comment: https://git.openjdk.org/jdk/pull/26967#issuecomment-3571077808


More information about the security-dev mailing list